summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2012-03-08 17:33:21 -0500
committerChase Douglas <chase.douglas@canonical.com>2012-03-09 07:12:12 -0800
commit9bccebeff291e21e9d65c168fabce39e4ba9e97a (patch)
tree7a478670dda2885f35708bfaacf74aa698126123
parentea7303900e3689d5b258bd5d61593f8b1ae3b4b0 (diff)
config: use existing feature --enable-strict-compilation
This replaces current code attempting to perform similar function. In configure.ac, the code is gcc specific. The src/Makefile.am has $(WARNING_FLAGS) rather than $(WARNING_CPPFLAGS) http://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in Looking at the xorg-gtest module --help text: --enable-strict-compilation Enable all warnings from compiler and make them errors (default: disabled) Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am2
2 files changed, 0 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index bd8e2c0..51de80f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,8 +57,6 @@ AC_SUBST(DUMMY_CONF_PATH, "$datadir/xorg/gtest/dummy.conf")
AC_CONFIG_FILES([Makefile
xorg-gtest.pc])
-AC_SUBST(WARNING_CPPFLAGS, "-Wall -Werror")
-
AC_CONFIG_FILES([data/Makefile
doc/Makefile
examples/Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index a75fb9e..772e257 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,8 +25,6 @@
lib_LTLIBRARIES = libxorg-gtest.la libxorg-gtest_main.la
-AM_CPPFLAGS = $(WARNING_FLAGS)
-
AM_CXXFLAGS = -I$(top_srcdir)/include $(XSERVER_CFLAGS) $(BASE_CXXFLAGS)
libxorg_gtest_la_SOURCES = \