Set xorg-macros CFLAGS correctly

A previous commit messed up all warning flags. Oops.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-04-08 15:38:04 +03:00 committed by Daniel Stone
parent 2590b5a15d
commit 518debb3bc
2 changed files with 5 additions and 5 deletions

View File

@ -18,15 +18,16 @@ ChangeLog:
dist-hook: ChangeLog INSTALL
AM_CPPFLAGS = \
-DDFLT_XKB_CONFIG_ROOT='"$(XKBCONFIGROOT)"' \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/xkbcomp \
-Isrc/xkbcomp
AM_CFLAGS = \
$(X11_CFLAGS) \
$(XORG_COMPILER_FLAGS) \
$(XMALLOC_ZERO_CFLAGS) \
-DDFLT_XKB_CONFIG_ROOT='"$(XKBCONFIGROOT)"'
$(BASE_CFLAGS) \
$(XMALLOC_ZERO_CFLAGS)
AM_YFLAGS = -d
xkbcommonincludedir = $(includedir)/xkbcommon

View File

@ -72,7 +72,6 @@ if test "x$CC_FOR_BUILD" = x; then
fi
fi
CFLAGS="$CFLAGS $BASE_CFLAGS"
if test "x$GCC" = xyes ; then
CFLAGS="$CFLAGS -fvisibility=hidden"
fi