Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203969 - games-fps/duke3d fails to compile with -Os
Summary: games-fps/duke3d fails to compile with -Os
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 14:08 UTC by anomen
Modified: 2008-01-04 21:00 UTC (History)
0 users

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


Attachments
proposed patch for duke3d-20040817-r2.ebuild (duke3d-20040817-r2.ebuild.patch,636 bytes, patch)
2008-01-01 14:11 UTC, anomen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description anomen 2008-01-01 14:08:34 UTC
Duke3d cannot compile with -Os option.
Only -O3 is filtered in both ebuilds, but -Os doesn't work as well.


Reproducible: Always




my make.conf:

CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
Comment 1 anomen 2008-01-01 14:11:30 UTC
Created attachment 139790 [details, diff]
proposed patch for duke3d-20040817-r2.ebuild

patch for duke3d-20040817-r2.ebuild
similar change should be applied to -r1 ebuild as well
Comment 2 anomen 2008-01-01 14:29:50 UTC
one more detail: 20040817-gcc4.patch file is not used at all. ebuild use duke3d-20040817-gcc4.patch instead.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2008-01-04 21:00:15 UTC
strip-flags instead.