in the configure script there is this at the top:
CFLAGS="-g -W -Wall -O2"
CXXFLAGS="-g -W -Wall -O2"
perhaps something like using this in the top Makefile
would be better:
CFLAGS ?= -g -W -Wall -O2
CXXFLAGS ?= -g -W -Wall -O2
i'm sure you could do this in the configure.ac file but
i dont know how ;)
Logged In: YES
user_id=85147
For Debian, i just used this addition to configure.ac:
# Check whether --with-cflags or --without-cflags was given.
if test "${with_cflags+set}" = set; then
withval="$with_cflags"
CFLAGS=$with_cflags; export CFLAGS
fi;
# Check whether --with-cxxflags or --without-cxxflags was given.
if test "${with_cxxflags+set}" = set; then
withval="$with_cxxflags"
CXXFLAGS=$with_cxxflags; export CXXFLAGS
fi;
--jochen
Can you please double check on HEAD (git)
else please close this bug and reopen when tested ...
thanks
--
http://rzr.online.fr/q/pinball