[bijiben] build: Remove explicit -Wall -g from AM_CFLAGS
- From: Jonathan Kang <jonathankang src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] build: Remove explicit -Wall -g from AM_CFLAGS
- Date: Wed, 19 Apr 2017 06:53:28 +0000 (UTC)
commit e20e922964bcae3c35c5f5d5e0250a1eb6619020
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Apr 19 14:51:05 2017 +0800
build: Remove explicit -Wall -g from AM_CFLAGS
These are developer options which should be set by specific developers
in their local CFLAGS environment variable, otherwise they enter
production builds.
The ultimate solution to this is to use AX_COMPILER_FLAGS to set the
default set of compiler flags.
See http://www.gnu.org/software/autoconf-archive/ax_compiler_flags.html.
https://bugzilla.gnome.org/show_bug.cgi?id=762648
src/Makefile.am | 9 ---------
src/libbiji/Makefile.am | 5 -----
2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index b9f6fd1..c64e3cb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,15 +16,6 @@ AM_CPPFLAGS = \
-I$(top_builddir)/src/libbiji \
$(BIJIBEN_CFLAGS)
-AM_CFLAGS =\
- -Wall\
- -g
-
-
-
-
-
-
LDADD = libbiji/libbiji.la \
$(LIBM) \
$(top_builddir)/libgd/libgd.la \
diff --git a/src/libbiji/Makefile.am b/src/libbiji/Makefile.am
index 1263d4d..0daa1f8 100644
--- a/src/libbiji/Makefile.am
+++ b/src/libbiji/Makefile.am
@@ -15,11 +15,6 @@ AM_CPPFLAGS = \
$(BIJIBEN_CFLAGS) \
$(ZEITGEIST_CFLAGS)
-AM_CFLAGS =\
- -Wall\
- -g
-
-
if BUILD_ZEITGEIST
AM_CPPFLAGS += -DBUILD_ZEITGEIST
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]