[Bug 752924] Re: Setting CXXFLAGS drops the autoconf default "-g -O2"

Launchpad Bug Tracker 752924 at bugs.launchpad.net
Fri Apr 8 20:00:12 UTC 2011


This bug was fixed in the package libavg - 1.5.4-0ubuntu2

---------------
libavg (1.5.4-0ubuntu2) natty; urgency=low

  * Build arch restricted to the supported i386 and amd64 (LP: #735548)
  * STDC macros define moved from CXXFLAGS to CPPFLAGS in order to autoconf
    to set correctly the default (LP: #752924)
 -- OXullo Intersecans <x at brainrapers.org>   Wed, 06 Apr 2011 23:46:15 +0200

** Changed in: libavg (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/752924

Title:
  Setting CXXFLAGS drops the autoconf default "-g -O2"

Status in “libavg” package in Ubuntu:
  Fix Released

Bug description:
  Since version 1.0.1-1ubuntu1, CXXFLAGS is set, in order to add a
  define (__STDC_CONSTANT_MACROS) to fix a FTBFS caused by ffmpeg-
  related libraries c++ compilation. This broke the expected behavior of
  AC_PROG_CXX macro, which sets CXXFLAGS to "-g -O2"  when CXXFLAGS is
  unset [1].

  In this way, libavg binaries are compiled with no optimizations, which
  may lead to unexpected behavior (under linux, libavg is extensively
  tested with -O2).

  [1]: http://www.gnu.org/software/autoconf/manual/autoconf.html
  (5.10.4)



More information about the Ubuntu-sponsors mailing list