Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447730 - app-backup/bacula-5.0.3-r3 does not respect CXXFLAGS
Summary: app-backup/bacula-5.0.3-r3 does not respect CXXFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-18 16:02 UTC by Agostino Sarubbo
Modified: 2012-12-20 11:58 UTC (History)
1 user (show)

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 Agostino Sarubbo gentoo-dev 2012-12-18 16:02:31 UTC
g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.. -I. -Iconsole -Irestore -Iselect -Imoc -Iui -o obj/main.o main.cpp
Comment 1 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-12-19 12:22:37 UTC
Adding CXXFLAGS="${CXXFLAGS}" to emake fixes this problem:

x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.. -I. -Iconsole -Irestore -Iselect -Imoc -Iui -o obj/main.o main.cpp
Comment 2 Thomas Beierlein gentoo-dev 2012-12-20 11:58:00 UTC
Fixed version in tree. I hope I got all problems. Thanks for thorough test.

+  20 Dec 2012; Thomas Beierlein <tomjbe@gentoo.org> bacula-5.0.3-r3.ebuild:
+  Fix to respect CXX and CXXFLAGS (bug #447728 and 447730). Make build log
+  verbose (bug #447806). Fix problems with USE=static. Switch to EAPI=5 and
+  REQUIRED_USE. Thanks ago and peratu
+