Commit 36c1a6d2 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

Don't override CXXFLAGS, just append.

(So user can choose there own on configure line and
also don't lose what configure detects and assigns.)

Add a TODO: check for module

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 6749cda4
......@@ -19,9 +19,11 @@ AX_COMPILER_VENDOR
m4_define([_AM_PYTHON_INTERPRETER_LIST], [python python3 python3.1])
# TODO: check for module
# default compiler warning settings
if test "X$GCC" = "Xyes"; then
CXXFLAGS="-g -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare"
CXXFLAGS="$CXXFLAGS -g -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare"
# produce PIC unless we disable shared libraries. need this for python bindings.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment