summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2005-12-28 14:07:04 +0000
committerTollef Fog Heen <tfheen@err.no>2005-12-28 14:07:04 +0000
commit4f78f8cf5031b75edbe348c24fc4d870dddc1d1e (patch)
treeebdc96382fc84cb7fdc85cb02f48ea8e2fc4c898 /Makefile.am
parent712f0af7b89fbf02af7e58422fc8f31f813a489c (diff)
downloadpkg-config-4f78f8cf5031b75edbe348c24fc4d870dddc1d1e.tar.gz
Only use -Wall and gcc-only flags with gcc.
2005-12-28 Tollef Fog Heen <tfheen@err.no> * configure.in, Makefile.am: Only use -Wall and other gcc-only flags when we don't have a set of CFLAGS already set and we're using gcc. Freedesktop #4888.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ee81bb4..4fcde30 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,7 +14,7 @@ man_MANS = pkg-config.1
EXTRA_DIST = $(m4_DATA) $(man_MANS) README.win32
bin_PROGRAMS = pkg-config
-AM_CFLAGS=-g -Wall -O2
+AM_CFLAGS=@WARN_CFLAGS@
INCLUDES=-DPKG_CONFIG_PC_PATH="\"$(pc_path)\"" $(included_glib_includes)