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
commit060615205169082d9c23397414257eb7fae5e115 (patch)
tree10bbb8d7e8864c20ccd23f27aa22df863bca5131
parent7373788d277df6fa63e9b85e001ebf1d08ce121c (diff)
downloadprosody-060615205169082d9c23397414257eb7fae5e115.tar.gz
prosody-060615205169082d9c23397414257eb7fae5e115.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/