Commit 36c59a40 authored by Gaetan Nadon's avatar Gaetan Nadon

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 42362ed9
......@@ -21,7 +21,7 @@
bin_PROGRAMS = oclock
AM_CFLAGS = $(OCLOCK_CFLAGS)
AM_CFLAGS = $(OCLOCK_CFLAGS) $(CWARNFLAGS)
oclock_LDADD = $(OCLOCK_LIBS) -lm
oclock_SOURCES = \
......
......@@ -40,7 +40,6 @@ AC_PROG_INSTALL
# Checks for pkg-config packages
PKG_CHECK_MODULES(OCLOCK, x11 xmu xext)
OCLOCK_CFLAGS="$CWARNFLAGS $OCLOCK_CFLAGS"
AC_SUBST(OCLOCK_CFLAGS)
AC_SUBST(OCLOCK_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