Replace lxpanel_CFLAGS with lxpanel_CPPFLAGS to not include them in linking.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 29 Nov 2014 16:16:35 +0000 (18:16 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 29 Nov 2014 16:16:35 +0000 (18:16 +0200)
That may cause false positives with tools like blhc.

src/Makefile.am

index 12bf3d1..3ee0a94 100644 (file)
@@ -2,7 +2,7 @@
 
 bin_PROGRAMS = lxpanel lxpanelctl
 
-lxpanel_CFLAGS = \
+lxpanel_CPPFLAGS = \
        -I$(top_srcdir) \
        -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
        -DPACKAGE_DATA_DIR=\""$(datadir)/lxpanel"\" \
@@ -20,7 +20,7 @@ endif
 
 pkglib_LTLIBRARIES = liblxpanel.la
 
-liblxpanel_la_CFLAGS = $(lxpanel_CFLAGS) $(KEYBINDER_CFLAGS)
+liblxpanel_la_CPPFLAGS = $(lxpanel_CPPFLAGS) $(KEYBINDER_CFLAGS)
 liblxpanel_la_SOURCES = \
        misc.c \
        configurator.c \