OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa4500f
)
Added -Wall
author
David Schleef
<ds@schleef.org>
Fri, 25 May 2001 23:28:20 +0000
(23:28 -0000)
committer
David Schleef
<ds@schleef.org>
Fri, 25 May 2001 23:28:20 +0000
(23:28 -0000)
test/Rules.mak
patch
|
blob
|
history
diff --git
a/test/Rules.mak
b/test/Rules.mak
index
1700195
..
00abb88
100644
(file)
--- a/
test/Rules.mak
+++ b/
test/Rules.mak
@@
-22,6
+22,9
@@
STRIPTOOL=strip
# Check if 'ls -sh' works or not
LSFLAGS = -l
+# turn all the warnings on
+WARNINGS=-Wall
+
# 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)