Public bug reported:

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)

** Affects: libavg (Ubuntu)
     Importance: Undecided
     Assignee: OXullo Intersecans (oxullo)
         Status: In Progress

** Changed in: libavg (Ubuntu)
       Status: New => In Progress

** Changed in: libavg (Ubuntu)
     Assignee: (unassigned) => OXullo Intersecans (oxullo)

** Branch linked: lp:~libavg-team/python-libavg/packaging

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/752924

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to