diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-02-11 10:08:06 -0500 |
---|---|---|
committer | Sung-Jin Park <sj76.park@samsung.com> | 2013-09-02 23:38:12 -0400 |
commit | 48a734b7fea00e04f5f869d27f03d10856c8f322 (patch) | |
tree | b7fec36a9ca29435acc83ee4a515a496be249e97 | |
parent | df8e64a7e488db2e2d83b55760639149ced2e60d (diff) | |
download | xeyes-48a734b7fea00e04f5f869d27f03d10856c8f322.tar.gz xeyes-48a734b7fea00e04f5f869d27f03d10856c8f322.tar.bz2 xeyes-48a734b7fea00e04f5f869d27f03d10856c8f322.zip |
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.
Change-Id: Icbdb7d312be8bd2da50607391fe75037a8b1efe2
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index cffa4ef..0286e1c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ bin_PROGRAMS = xeyes -AM_CFLAGS = $(XEYES_CFLAGS) +AM_CFLAGS = $(XEYES_CFLAGS) $(CWARNFLAGS) xeyes_LDADD = $(XEYES_LIBS) -lm xeyes_SOURCES = \ diff --git a/configure.ac b/configure.ac index 55a7a1e..49e8e20 100644 --- a/configure.ac +++ b/configure.ac @@ -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) |