Skip to content
Snippets Groups Projects
Commit a8b1449b authored by Gaetan Nadon's avatar Gaetan Nadon
Browse files

config: move CWARNFLAGS from configure.ac to Makefile.am


Compiler warning flags should be explicitly set in the makefile
rather than being merged with other packages compiler flags.

Signed-off-by: default avatarGaetan Nadon <memsize@videotron.ca>
parent 442b50b9
No related branches found
No related tags found
No related merge requests found
...@@ -40,9 +40,6 @@ AC_PROG_LIBTOOL ...@@ -40,9 +40,6 @@ AC_PROG_LIBTOOL
# Check for dependencies # Check for dependencies
PKG_CHECK_MODULES(DMX, x11 xext xextproto [dmxproto >= 2.2.99.1]) PKG_CHECK_MODULES(DMX, x11 xext xextproto [dmxproto >= 2.2.99.1])
DMX_CFLAGS="$CWARNFLAGS $DMX_CFLAGS"
AC_SUBST(DMX_CFLAGS)
AC_SUBST(DMX_LIBS)
XORG_CHECK_MALLOC_ZERO XORG_CHECK_MALLOC_ZERO
......
...@@ -11,7 +11,8 @@ AM_CFLAGS = -I$(top_srcdir)/include \ ...@@ -11,7 +11,8 @@ AM_CFLAGS = -I$(top_srcdir)/include \
-I$(top_srcdir)/include/X11 \ -I$(top_srcdir)/include/X11 \
-I$(top_srcdir)/include/X11/extensions \ -I$(top_srcdir)/include/X11/extensions \
$(DMX_CFLAGS) \ $(DMX_CFLAGS) \
$(MALLOC_ZERO_CFLAGS) $(MALLOC_ZERO_CFLAGS) \
$(CWARNFLAGS)
libdmxincludedir = $(includedir)/X11/extensions libdmxincludedir = $(includedir)/X11/extensions
libdmxinclude_HEADERS = $(top_srcdir)/include/X11/extensions/dmxext.h libdmxinclude_HEADERS = $(top_srcdir)/include/X11/extensions/dmxext.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment