diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-22 01:05:04 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-22 01:05:04 +0000 |
commit | b4b302df99145413dbb052ebba90fb0c47d25912 (patch) | |
tree | ae6424bb6d3fe7ed57c13012894b2c87a0153159 /Makefile | |
parent | db1df1b68eadfe0afa068c776f7241a5961d2e26 (diff) | |
download | busybox-w32-b4b302df99145413dbb052ebba90fb0c47d25912.tar.gz busybox-w32-b4b302df99145413dbb052ebba90fb0c47d25912.tar.bz2 busybox-w32-b4b302df99145413dbb052ebba90fb0c47d25912.zip |
Patch from Larry Doolittle to close bug #1086.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@1632 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -28,6 +28,11 @@ export VERSION | |||
28 | # overridden at the command line. For example: | 28 | # overridden at the command line. For example: |
29 | # make CROSS=powerpc-linux- BB_SRC_DIR=$HOME/busybox PREFIX=/mnt/app | 29 | # make CROSS=powerpc-linux- BB_SRC_DIR=$HOME/busybox PREFIX=/mnt/app |
30 | 30 | ||
31 | # If you want to add some simple compiler switches (like -march=i686), | ||
32 | # especially from the command line, use this instead of CFLAGS directly. | ||
33 | # For optimization overrides, it's better still to set OPTIMIZATION. | ||
34 | CFLAGS_EXTRA = | ||
35 | |||
31 | # If you want a static binary, turn this on. | 36 | # If you want a static binary, turn this on. |
32 | DOSTATIC = false | 37 | DOSTATIC = false |
33 | 38 | ||
@@ -153,6 +158,9 @@ ifdef BB_INIT_SCRIPT | |||
153 | CFLAGS += -DINIT_SCRIPT='"$(BB_INIT_SCRIPT)"' | 158 | CFLAGS += -DINIT_SCRIPT='"$(BB_INIT_SCRIPT)"' |
154 | endif | 159 | endif |
155 | 160 | ||
161 | # Put user-supplied flags at the end, where they | ||
162 | # have a chance of winning. | ||
163 | CFLAGS += $(CFLAGS_EXTRA) | ||
156 | 164 | ||
157 | all: busybox busybox.links doc | 165 | all: busybox busybox.links doc |
158 | 166 | ||