From 084420316c7345478028b25fa85b66e39b4f793b Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Fri, 4 Mar 2005 06:32:03 +0100 Subject: [PATCH] [PATCH] klibc: check for gcc4 --- klibc/klibc/arch/i386/MCONFIG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klibc/klibc/arch/i386/MCONFIG b/klibc/klibc/arch/i386/MCONFIG index 67d8de47..8310e263 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 -- 2.39.5