From: kay.sievers@vrfy.org Date: Fri, 4 Mar 2005 05:32:03 +0000 (+0100) Subject: [PATCH] klibc: check for gcc4 X-Git-Tag: 055~59 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=084420316c7345478028b25fa85b66e39b4f793b;p=systemd [PATCH] klibc: check for gcc4 --- 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