Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141741 - media-sound/rezound-0.12.2_beta-r1 does not honor CXXFLAGS setting
Summary: media-sound/rezound-0.12.2_beta-r1 does not honor CXXFLAGS setting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-25 14:54 UTC by Martin von Gagern
Modified: 2006-10-22 06:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2006-07-25 14:54:35 UTC
While trying to introduce a -ffriend-injection into CXXFLAGS to address
bug 141426, I noticed that none of my CXXFLAGS got passed to the compiler invocations. The problem is configure.ac line 56:

CXXFLAGS= # AC_PROG_CXX automatically sets CXXFLAGS to -g -O2 if g++ is the C++ compiler and CXXFLAGS hasn't been set, so by setting CXXFLAGS, we can avoid this.

I changed that (in the configure script only) to CXXFLAGS="$CXXFLAGS", which does the same for unset CXXFLAGS but keeps the setting if the variable is set.

The configure script still appends some other switches after checking they work. Most of them control warnings, and are of no relevance for the generated code. One is the -g switch which is added in any case. Removing that would probably be done easiest by reconfiguring the whole package.
Comment 1 Alexis Ballier gentoo-dev 2006-10-22 06:49:05 UTC
Fixed in 0.12.2_beta-r2. Thanks for pointing that.