diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-07-22 08:56:01 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-07-22 08:56:01 +0000 |
| commit | 5658fe5f7869ce987e25dfb6554db5e062045319 (patch) | |
| tree | 67aafaa87aba12e0ea7bb4ac42c6354b5ab90eff | |
| parent | 6a5c48b1440d95376fc95f930d939143ed3665a2 (diff) | |
| download | busybox-w32-5658fe5f7869ce987e25dfb6554db5e062045319.tar.gz busybox-w32-5658fe5f7869ce987e25dfb6554db5e062045319.tar.bz2 busybox-w32-5658fe5f7869ce987e25dfb6554db5e062045319.zip | |
A minor update for handling older gcc versions
git-svn-id: svn://busybox.net/trunk/busybox@7089 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | Rules.mak | 8 |
1 files changed, 2 insertions, 6 deletions
| @@ -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 |
| 129 | endif | 125 | endif |
| 130 | ifeq ($(strip $(TARGET_ARCH)),i386) | 126 | ifeq ($(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) |
