CFLAGS = "-g $CFLAGS", AM_CFLAGS
Дилян Палаузов
dilyan.palauzov at aegee.org
Wed Jul 14 13:07:52 EDT 2010
Hello,
As of pidgin-2.7.1 configure.ac contains the lines
1267: if test "x$GCC" = "xyes"; then
...
1343: CFLAGS = "-g $CFLAGS"
1344: fi
This means, that the one who compiles the software effectively cannot
turn off "-g" (debug information) by using standard tweaks (command line
options, CFLAGS as environment variable) as it is hard coded in the
Makefile. *Is this intended so?*
Apart from this, the automake manual says
(http://www.gnu.org/software/hello/manual/automake/Flag-Variables-Ordering.html),
that user variables like CFLAGS shall never be defined in the
Makefile.am file, but AM_CFLAGs shall be used instead. *Shall I write a
bug report for CFLAGS -> AM_CFLAGS or is this email sufficient?*
Със здраве
Дилян
More information about the Devel
mailing list