summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a974daa4..9e4efe8f 100755
--- a/configure.ac
+++ b/configure.ac
@@ -125,7 +125,12 @@ if test "x${cflags_specified}" = "x" ; then
CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings"
CFLAGS="${CFLAGS} -Wmissing-prototypes -Wmissing-declarations"
CFLAGS="${CFLAGS} -Wchar-subscripts -Wcast-qual"
- # TODO: conditionally addd -Wpacked if handled
+
+ CXXFLAGS="-Os -fno-omit-frame-pointer -g -Wall"
+ CXXFLAGS="${CFLAGS} -Wsign-compare -Wpointer-arith"
+ CXXFLAGS="${CFLAGS} -Wwrite-strings"
+ CXXFLAGS="${CFLAGS} -Wchar-subscripts -Wcast-qual"
+ # TODO: conditionally addd -Wpacked if handled
AC_MSG_RESULT([gcc default])
;;
"SUNPRO")