Login  Register

Re: CXXFLAGS in configure.in

Posted by Luigi Ballabio-4 on May 07, 2002; 4:26am
URL: http://quantlib.414.s1.nabble.com/CXXFLAGS-in-configure-in-tp2035p2036.html

At 02:35 PM 5/4/02 -0700, Xiaowen Wang wrote:
>This script won't allow for customized CXXFLAGS.
>Changing to the following will do:
>
>if test "$GXX" = yes -a -z "$CXXFLAGS"; then
>     CXXFLAGS="-g -O3 -pedantic -Wall"
>fi

Xiaowen,
         I made the change, but now I seem to get "-g -O2" out of
nowhere---I sure didn't specify it. Do you have any idea where the above
default could be stored? (it is not an environment variable, I checked those)

Later,
         Luigi