summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-20 18:01:06 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-20 18:01:06 +0000
commitce5e747f18959785f174b689dd23fddbd159fe60 (patch)
tree30e23f2e04f180e63c923d9a52285831bce0714b /Rules.mak
parent9a228159306d2e799554c42b7d3f6a8696496ffd (diff)
Split out libc-symbols.h from libc-internal.h, use it directly in CFLAGS. Moved weak[_const]_function into proper place (if we have weak support), else noop. Modified comment about changes to glibc. Moved -D_LIBC from CFLAGS to libc-symbols.h. I am not sure about unlikely/likely/__cast
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak5
1 files changed, 3 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 590eed289..531e925f4 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -329,8 +329,9 @@ SSP_CFLAGS:=$(SSP_DISABLE_FLAGS)
endif
# Some nice CFLAGS to work with
-CFLAGS:=$(XWARNINGS) $(CPU_CFLAGS) $(SSP_CFLAGS) \
- -fno-builtin -nostdinc -D_LIBC -I$(top_builddir)include -I.
+CFLAGS:=-include $(top_builddir)include/libc-symbols.h \
+ $(XWARNINGS) $(CPU_CFLAGS) $(SSP_CFLAGS) \
+ -fno-builtin -nostdinc -I$(top_builddir)include -I.
LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc