Commit 96a593c4 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: Gaetan Nadon's avatarGaetan Nadon <memsize@videotron.ca>
parent a2c8bc28
......@@ -21,7 +21,7 @@
bin_PROGRAMS = xeyes
AM_CFLAGS = $(XEYES_CFLAGS)
AM_CFLAGS = $(XEYES_CFLAGS) $(CWARNFLAGS)
xeyes_LDADD = $(XEYES_LIBS) -lm
xeyes_SOURCES = \
......
......@@ -40,7 +40,6 @@ AC_PROG_INSTALL
# Checks for pkg-config packages
PKG_CHECK_MODULES(XEYES, x11 xt xext xmu)
XEYES_CFLAGS="$CWARNFLAGS $XEYES_CFLAGS"
AC_SUBST(XEYES_CFLAGS)
AC_SUBST(XEYES_LIBS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment