projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a4332
)
configure.ac: use XORG_TESTSET_CFLAG for -fvisibility=hidden
author
Ran Benita
<ran234@gmail.com>
Fri, 21 Sep 2012 17:09:17 +0000
(20:09 +0300)
committer
Daniel Stone
<daniel@fooishbar.org>
Sun, 23 Sep 2012 23:08:54 +0000
(09:08 +1000)
Probably shouldn't use CFLAGS for that but o well.
Signed-off-by: Ran Benita <ran234@gmail.com>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
2b40d41
..
f2a1ead
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-78,9
+78,7
@@
if test "x$CC_FOR_BUILD" = x; then
fi
fi
-if test "x$GCC" = xyes ; then
- CFLAGS="$CFLAGS -fvisibility=hidden"
-fi
+XORG_TESTSET_CFLAG([CFLAGS], [-fvisibility=hidden])
# Define a configuration option for the XKB config root
xkb_base=`$PKG_CONFIG --variable=xkb_base xkeyboard-config`