projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f76d174
)
configure.in: not all gccs support -Wno-pointer-sign
author
Marc Mutz
<marc@kdab.net>
Fri, 17 Apr 2009 14:23:42 +0000
(16:23 +0200)
committer
Thiago Macieira
<thiago@kde.org>
Wed, 13 May 2009 13:50:51 +0000
(15:50 +0200)
Signed-off-by: Thiago Macieira <thiago@kde.org>
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index 6992487b8ceafb14fd1f892f375311114dd5aad8..fd972b496a23e52a5e19e38003c7191540146e70 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-284,7
+284,10
@@
if test "x$GCC" = "xyes"; then
esac
case " $CFLAGS " in
*[\ \ ]-Wno-pointer-sign[\ \ ]*) ;;
- *) CFLAGS="$CFLAGS -Wno-pointer-sign" ;;
+ *) if cc_supports_flag -Wno-pointer-sign; then
+ CFLAGS="$CFLAGS -Wno-pointer-sign"
+ fi
+ ;;
esac
# http://bugs.freedesktop.org/show_bug.cgi?id=19195