summaryrefslogtreecommitdiff
path: root/lib/libXpm/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXpm/src/Makefile.am')
-rw-r--r--lib/libXpm/src/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libXpm/src/Makefile.am b/lib/libXpm/src/Makefile.am
index 2329daf08..0c8652a8f 100644
--- a/lib/libXpm/src/Makefile.am
+++ b/lib/libXpm/src/Makefile.am
@@ -2,9 +2,8 @@
lib_LTLIBRARIES=libXpm.la
-AM_CFLAGS = -I. \
- -I$(top_srcdir)/include/X11/ \
- $(XPM_CFLAGS)
+AM_CPPFLAGS = -I. -I$(top_srcdir)/include/X11/
+AM_CFLAGS = $(CWARNFLAGS) $(XPM_CFLAGS)
libXpm_la_LDFLAGS = -version-number 4:11:0 -no-undefined
libXpm_la_LIBADD = $(XPM_LIBS)