projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9297f1e
)
configure: Do not unconditionally add -Wall to host CFLAGS.
author
Diego Biurrun
<diego@biurrun.de>
Mon, 16 May 2011 14:16:14 +0000
(16:16 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 20 May 2011 15:52:24 +0000
(17:52 +0200)
Some compilers choke on -Wall, so only add the flag after checking it works.
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
634edd5
..
b63330c
100644
(file)
--- a/
configure
+++ b/
configure
@@
-1672,7
+1672,7
@@
LIB_INSTALL_EXTRA_CMD='$$(RANLIB) "$(LIBDIR)/$(LIBNAME)"'
CC_O='-o $@'
-host_cflags='-D_ISOC99_SOURCE -O3 -g
-Wall
'
+host_cflags='-D_ISOC99_SOURCE -O3 -g'
host_libs='-lm'
target_path='$(CURDIR)'
@@
-2334,6
+2334,7
@@
check_cc -D_LARGEFILE_SOURCE <<EOF && add_cppflags -D_LARGEFILE_SOURCE
EOF
check_host_cflags -std=c99
+check_host_cflags -Wall
case "$arch" in
alpha|ia64|mips|parisc|sparc)