diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-03-04 06:32:03 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:39:48 -0700 |
commit | 084420316c7345478028b25fa85b66e39b4f793b (patch) | |
tree | 207c6a90dcf13002d1426d69f41242ee6840848c /klibc | |
parent | b55e6540260ac3e38d96a0b6c00514a72d5db218 (diff) |
[PATCH] klibc: check for gcc4
Diffstat (limited to 'klibc')
-rw-r--r-- | klibc/klibc/arch/i386/MCONFIG | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klibc/klibc/arch/i386/MCONFIG b/klibc/klibc/arch/i386/MCONFIG index 67d8de4740..8310e26381 100644 --- a/klibc/klibc/arch/i386/MCONFIG +++ b/klibc/klibc/arch/i386/MCONFIG @@ -16,7 +16,7 @@ gcc_major := $(shell echo __GNUC__ | $(CC) -E -xc - | tail -n 1) OPTFLAGS = -march=i386 -Os -g LDFLAGS = -m elf_i386 -ifeq ($(gcc_major),3) +ifneq ($(shell if [ $(gcc_major) -gt 2 ] ; then echo "new"; fi ;),) REGPARM := $(REGPARM_OPT) OPTFLAGS += -falign-functions=0 -falign-jumps=0 -falign-loops=0 ARCHREQFLAGS += -m32 |