Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299185 - CFLAGS ignored ub media-gfx/yafaray
Summary: CFLAGS ignored ub media-gfx/yafaray
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-01 11:01 UTC by Killian De Volder
Modified: 2010-01-02 13: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 Killian De Volder 2010-01-01 11:01:37 UTC
Apparently the ebuild doesn't pass the CFLAGS/CXXFLAGS correctly to scons.
Yafaray scons requires the syntax: scons CCFLAGS="blalabla".
Setting the env CCFLAGS or CXXFLAGS has no effect.
 

Reproducible: Always

Steps to Reproduce:
1. set a CFLAG or CXXFLAG
2. emerge
3. watch how every compilation uses NO cflags
4. Now do the same with scons CCFLAGS="test", and watch how that flag IS used.

Actual Results:  
Slow raytracing.

Expected Results:  
Fast raytracing (as a result of code beeing optimized)
Comment 1 Killian De Volder 2010-01-01 11:14:08 UTC
Can be fixed easily by adding
	user_config "CCFLAGS=\"${CXXFLAGS}\""
in src_configure() {
in yafaray-0.1.1.ebuild
(If you ignore or fix the manifest file)
Comment 2 Killian De Volder 2010-01-01 11:20:02 UTC
Tested and worked, renders the same scene in 7 seconds now instead of 35 secs.
Comment 3 Markus Meier gentoo-dev 2010-01-02 13:49:49 UTC
fixed in cvs, thanks for the report and fix. you may resync your tree in about an hour and remerge yafaray.

  02 Jan 2010; Markus Meier <maekke@gentoo.org> yafaray-0.1.1.ebuild:
  respect $CXXFLAGS by Killian De Volder in bug #299185