aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index d999d8d..2e8ef17 100644
--- a/configure.in
+++ b/configure.in
@@ -64,7 +64,7 @@ AC_ARG_ENABLE(simpletest,
# age to 0.
XTRACT_SO_VERSION=0:0:0
-CFLAGS="$CFLAGS -pedantic -ansi -Wall -std=c99"
+CFLAGS="$CFLAGS -pedantic -ansi -Wall -Werror -std=c99"
LDFLAGS="$LDFLAGS -lm"
AC_ARG_WITH(pd_dir,
@@ -132,7 +132,7 @@ AC_ARG_ENABLE(debug,
if test "$with_debug" = "yes"
then
AC_DEFINE(DEBUG,1,[Define to enable debug])
- CFLAGS="-O0 -ggdb -g -pedantic -ansi -Wall"
+ CFLAGS="$CFLAGS -O0 -ggdb -g"
fi
dnl ------------------------------------------
@@ -164,7 +164,7 @@ else
case $host in
*86-*-linux*)
- PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes"
+ PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused"
PD_LDFLAGS="$PD_LDFLAGS -shared -export_dynamic"
dnl we could test for bad glibc here, but don't
PD_SUFFIX=pd_linux