summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen2002-07-31 03:45:05 +0000
committerEric Andersen2002-07-31 03:45:05 +0000
commit87715170ccb9c3ffda13b621385832a9103913ec (patch)
treeb49e6be193dae1337f1ec385c63051351139141a /Rules.mak
parentb230159958fd527dafb21aa5b157a928e46ee181 (diff)
downloadbusybox-87715170ccb9c3ffda13b621385832a9103913ec.zip
busybox-87715170ccb9c3ffda13b621385832a9103913ec.tar.gz
Be more portable with 'find' for those that prefer programming
on *BSD, etc. Formatting fixes, etc.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index d5b0127..0f6f9b1 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -36,7 +36,7 @@ TARGET_OS:=linux
# If you want to add some simple compiler switches (like -march=i686),
# especially from the command line, use this instead of CFLAGS directly.
# For optimization overrides, it's better still to set OPTIMIZATION.
-CFLAGS_EXTRA:=
+CFLAGS_EXTRA:=#-Werror
# If you want a static binary, turn this on.
DOSTATIC:=false
@@ -132,8 +132,8 @@ TARGET_ARCH:=${shell $(CC) -dumpmachine | sed -e s'/-.*//' \
# for OPTIMIZATION...
# use '-Os' optimization if available, else use -O2
-OPTIMIZATION := ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
- then echo "-Os"; else echo "-O2" ; fi}
+OPTIMIZATION := ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null \
+ >/dev/null 2>&1; then echo "-Os"; else echo "-O2" ; fi}
# Some nice architecture specific optimizations
ifeq ($(strip $(TARGET_ARCH)),arm)