Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 203969

Summary: games-fps/duke3d fails to compile with -Os
Product: Gentoo Linux Reporter: anomen <ludek_h>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: proposed patch for duke3d-20040817-r2.ebuild

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.