aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
-rw-r--r--configure.in3
2 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index fc9a8d1..f4aca23 100755
--- a/configure
+++ b/configure
@@ -2923,6 +2923,9 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
ac_config_headers="$ac_config_headers config.h"
+# Compile with safe optimizations and no debugging by default
+CFLAGS="-Os"
+
# Check for programs.
for ac_prog in gawk mawk nawk awk
do
diff --git a/configure.in b/configure.in
index 7613e4b..f93934f 100644
--- a/configure.in
+++ b/configure.in
@@ -5,6 +5,9 @@ AM_INIT_AUTOMAKE(1.11.1)
AC_CONFIG_SRCDIR([src/netnuke.c])
AC_CONFIG_HEADERS([config.h])
+# Compile with safe optimizations and no debugging by default
+CFLAGS="-Os"
+
# Check for programs.
AC_PROG_AWK
AC_PROG_CC