diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-07-31 03:45:05 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-07-31 03:45:05 +0000 |
commit | 482e2102c97ad727474459c4c14576e200146e26 (patch) | |
tree | b49e6be193dae1337f1ec385c63051351139141a /Rules.mak | |
parent | f8ff3741386462460ce76a1e509b42e5c854dd6e (diff) | |
download | busybox-w32-482e2102c97ad727474459c4c14576e200146e26.tar.gz busybox-w32-482e2102c97ad727474459c4c14576e200146e26.tar.bz2 busybox-w32-482e2102c97ad727474459c4c14576e200146e26.zip |
Be more portable with 'find' for those that prefer programming
on *BSD, etc. Formatting fixes, etc.
git-svn-id: svn://busybox.net/trunk/busybox@5131 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -36,7 +36,7 @@ TARGET_OS:=linux | |||
36 | # If you want to add some simple compiler switches (like -march=i686), | 36 | # If you want to add some simple compiler switches (like -march=i686), |
37 | # especially from the command line, use this instead of CFLAGS directly. | 37 | # especially from the command line, use this instead of CFLAGS directly. |
38 | # For optimization overrides, it's better still to set OPTIMIZATION. | 38 | # For optimization overrides, it's better still to set OPTIMIZATION. |
39 | CFLAGS_EXTRA:= | 39 | CFLAGS_EXTRA:=#-Werror |
40 | 40 | ||
41 | # If you want a static binary, turn this on. | 41 | # If you want a static binary, turn this on. |
42 | DOSTATIC:=false | 42 | DOSTATIC:=false |
@@ -132,8 +132,8 @@ TARGET_ARCH:=${shell $(CC) -dumpmachine | sed -e s'/-.*//' \ | |||
132 | # for OPTIMIZATION... | 132 | # for OPTIMIZATION... |
133 | 133 | ||
134 | # use '-Os' optimization if available, else use -O2 | 134 | # use '-Os' optimization if available, else use -O2 |
135 | OPTIMIZATION := ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ | 135 | OPTIMIZATION := ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null \ |
136 | then echo "-Os"; else echo "-O2" ; fi} | 136 | >/dev/null 2>&1; then echo "-Os"; else echo "-O2" ; fi} |
137 | 137 | ||
138 | # Some nice architecture specific optimizations | 138 | # Some nice architecture specific optimizations |
139 | ifeq ($(strip $(TARGET_ARCH)),arm) | 139 | ifeq ($(strip $(TARGET_ARCH)),arm) |