Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118358 - widelands doesn't honor CFLAGS
Summary: widelands doesn't honor CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-08 22:10 UTC by Christopher Covington
Modified: 2006-01-13 06:02 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 Christopher Covington 2006-01-08 22:10:13 UTC
games-strategy/widelands uses its own cflags to compile. Here's an example:

g++ -pipe -Wall -I/usr/include/SDL -D_REENTRANT  -finline-functions -ffast-math -funroll-loops -funroll-all-loops -fexpensive-optimizations -O3 -DNDEBUG -Isrc -Isrc/ui/ui_fs_menus -Isrc/ui/ui_basic -Isrc/editor -Isrc/editor/ui_menus -Isrc/editor/tools -MMD -MP -MF src/native-release/main.o.d -c -o src/native-release/main.o src/main.cc

The comments in the Makefile mention that -fomit-frame-pointers breaks exceptions so I suppose flag-o-matic should filter it out before appending the user CFLAGS to the ones used to compile. Never used flag-o-matic or even eclasses before and I don't quite have time ATM to learn how so I'll leave it in the hands of you devs for now and possibly post a couple line patch in the future if you guys don't get around to this for a while.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-13 06:02:44 UTC
Thanks, fixed