diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-17 00:09:37 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-17 00:09:37 +0000 |
commit | 8891cd94ce927967b85d88f148e0864f0d502eec (patch) | |
tree | 25c2413cc803f99334baa732f1f7bd70f0c70ce2 | |
parent | 56a7863000039f57495bb42a62ab453a980e4a6b (diff) |
Undo -combine addition, check_gcc can't cope with it
-rw-r--r-- | Rules.mak | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -260,9 +260,6 @@ OPTIMIZATION+=$(call check_gcc,-Os,-O2) # Use the gcc 3.4 -funit-at-a-time optimization when available OPTIMIZATION+=$(call check_gcc,-funit-at-a-time,) -# gcc-4.1 fails if -combine is not used and we compile all .c to one object -CFLAGS_FAIL := $(call check_gcc,-combine,) - # Add a bunch of extra pedantic annoyingly strict checks XWARNINGS=$(subst ",, $(strip $(WARNINGS))) -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing XARCH_CFLAGS=$(subst ",, $(strip $(ARCH_CFLAGS))) @@ -292,7 +289,7 @@ SSP_CFLAGS:=$(SSP_DISABLE_FLAGS) endif # Some nice CFLAGS to work with -CFLAGS:=$(XWARNINGS) $(CPU_CFLAGS) $(SSP_CFLAGS) $(CFLAGS_FAIL) \ +CFLAGS:=$(XWARNINGS) $(CPU_CFLAGS) $(SSP_CFLAGS) \ -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)include -I. LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc -z defs |