projects
/
platform
/
upstream
/
libatomic_ops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b32643
)
Show extra compiler warnings (GCC).
author
Ivan Maidanski
<ivmai@mail.ru>
Mon, 8 Aug 2011 07:32:15 +0000
(11:32 +0400)
committer
Ivan Maidanski
<ivmai@mail.ru>
Mon, 8 Aug 2011 07:32:15 +0000
(11:32 +0400)
* configure.ac (CFLAGS): Add -Wall -Wextra (GCC only).
* configure: Regenerate.
configure
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
5ed6a68
..
d4d9b96
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-4738,6
+4738,8
@@
$as_echo "-fPIC" >&6; }
CFLAGS="$CFLAGS -D__PIC__=1"
;;
esac
+ # Output all warnings.
+ CFLAGS="$CFLAGS -Wall -Wextra"
else
case "$host" in
*-*-hpux*)
diff --git
a/configure.ac
b/configure.ac
index
d84b8a0
..
2ed7ddf
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-32,6
+32,8
@@
if test "$GCC" = yes; then
CFLAGS="$CFLAGS -D__PIC__=1"
;;
esac
+ # Output all warnings.
+ CFLAGS="$CFLAGS -Wall -Wextra"
else
case "$host" in
*-*-hpux*)