aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-19 15:59:12 +0200
committerKim Alvefur <zash@zash.se>2016-08-19 15:59:12 +0200
commitdfb9438ad796e49cde368c5e73cb5b88833547a6 (patch)
tree10bbb8d7e8864c20ccd23f27aa22df863bca5131
parentf092c77e117746603729d96cd7be80baa36d2a26 (diff)
downloadprosody-dfb9438ad796e49cde368c5e73cb5b88833547a6.tar.gz
prosody-dfb9438ad796e49cde368c5e73cb5b88833547a6.zip
Move C compiler flag -pedantic from Makefile to configure
-rwxr-xr-xconfigure2
-rw-r--r--util-src/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 3fc43852..d5e29d57 100755
--- a/configure
+++ b/configure
@@ -21,7 +21,7 @@ EXCERTS="yes"
PRNG=
PRNGLIBS=
-CFLAGS="-fPIC -Wall"
+CFLAGS="-fPIC -Wall -pedantic"
LDFLAGS="-shared"
IDN_LIBRARY="idn"
diff --git a/util-src/Makefile b/util-src/Makefile
index 12a67ab2..3a4f1ac8 100644
--- a/util-src/Makefile
+++ b/util-src/Makefile
@@ -1,7 +1,7 @@
include ../config.unix
-CFLAGS+=-ggdb -pedantic -I$(LUA_INCDIR)
+CFLAGS+=-ggdb -I$(LUA_INCDIR)
INSTALL_DATA=install -m644
TARGET?=../util/