diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-20 18:01:06 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-20 18:01:06 +0000 |
commit | ce5e747f18959785f174b689dd23fddbd159fe60 (patch) | |
tree | 30e23f2e04f180e63c923d9a52285831bce0714b /Rules.mak | |
parent | 9a228159306d2e799554c42b7d3f6a8696496ffd (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.mak | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |