summaryrefslogtreecommitdiff
path: root/klibc
diff options
context:
space:
mode:
Diffstat (limited to 'klibc')
-rw-r--r--klibc/klibc/arch/i386/MCONFIG2
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