projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
106e767
)
build: Supress all CC warnings by default
author
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Tue, 22 Sep 2009 14:01:34 +0000
(17:01 +0300)
committer
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Tue, 22 Sep 2009 14:01:34 +0000
(17:01 +0300)
Supress all warnings from C compiler unless told to be strict.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
8dbafbf
..
c2e864f
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-116,6
+116,8
@@
AC_ARG_ENABLE(strict-cc,
enable_strict_cc=no)
if test "x$enable_strict_cc" = "xyes"; then
CFLAGS="$CFLAGS -Wall -Werror"
+else
+ CFLAGS="$CFLAGS -w"
fi
# Run uninstalled