aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-22 08:56:01 +0000
committerEric Andersen <andersen@codepoet.org>2003-07-22 08:56:01 +0000
commit0a14c9f924eaf6a64e78959a190d187d646b3c0c (patch)
tree67aafaa87aba12e0ea7bb4ac42c6354b5ab90eff
parentd14d2a1f619ffac23efaee26260860504202d66c (diff)
downloadbusybox-w32-0a14c9f924eaf6a64e78959a190d187d646b3c0c.tar.gz
busybox-w32-0a14c9f924eaf6a64e78959a190d187d646b3c0c.tar.bz2
busybox-w32-0a14c9f924eaf6a64e78959a190d187d646b3c0c.zip
A minor update for handling older gcc versions
-rw-r--r--Rules.mak8
1 files changed, 2 insertions, 6 deletions
diff --git a/Rules.mak b/Rules.mak
index 15dde5201..b38225fbe 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -74,11 +74,7 @@ BB_SRC_DIR=
74# using the compatible RPMs (compat-*) at http://www.redhat.com ! 74# using the compatible RPMs (compat-*) at http://www.redhat.com !
75#LIBCDIR:=/usr/i386-glibc20-linux 75#LIBCDIR:=/usr/i386-glibc20-linux
76# 76#
77# The following is used for libc5 (if you install altgcc and libc5-altdev 77# For other libraries, you are on your own. But these may (or may not) help...
78# on a Debian system).
79#LIBCDIR:=/usr/i486-linuxlibc1
80#
81# For other libraries, you are on your own...
82#LDFLAGS+=-nostdlib 78#LDFLAGS+=-nostdlib
83#LIBRARIES:=$(LIBCDIR)/lib/libc.a -lgcc 79#LIBRARIES:=$(LIBCDIR)/lib/libc.a -lgcc
84#CROSS_CFLAGS+=-nostdinc -I$(LIBCDIR)/include -I$(GCCINCDIR) 80#CROSS_CFLAGS+=-nostdinc -I$(LIBCDIR)/include -I$(GCCINCDIR)
@@ -128,7 +124,7 @@ ifeq ($(strip $(TARGET_ARCH)),arm)
128 OPTIMIZATION+=-fstrict-aliasing 124 OPTIMIZATION+=-fstrict-aliasing
129endif 125endif
130ifeq ($(strip $(TARGET_ARCH)),i386) 126ifeq ($(strip $(TARGET_ARCH)),i386)
131 OPTIMIZATION+=-march=i386 127 OPTIMIZATION+=$(call check_gcc,-march=i386,)
132 OPTIMIZATION+=$(call check_gcc,-mpreferred-stack-boundary=2,) 128 OPTIMIZATION+=$(call check_gcc,-mpreferred-stack-boundary=2,)
133 OPTIMIZATION+=$(call check_gcc,-falign-functions=0 -falign-jumps=0 -falign-loops=0,\ 129 OPTIMIZATION+=$(call check_gcc,-falign-functions=0 -falign-jumps=0 -falign-loops=0,\
134 -malign-functions=0 -malign-jumps=0 -malign-loops=0) 130 -malign-functions=0 -malign-jumps=0 -malign-loops=0)