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

Bug 240005

Summary: app-emulation/spim: CFLAGS are ignored
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Ricardo Mendoza (RETIRED) <ricmm>
Status: RESOLVED FIXED    
Severity: normal CC: colin
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch enabling CFLAGS to be specified (use w/ updated ebuild below)
Patch supporting FEATURES=nostrip (use w/ ebuild below)
spim ebuild supporting FEATURES=nostrip and proper CFLAGS handling

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 17:05:33 UTC
I don't know the build system for this program (and this is a generic bug template so I cannot tell you which program exactly is), but my tests shows that it's not respecting CFLAGS properly.

Please look into it, since it's important to respect user CFLAGS.

Thanks,
Diego
Comment 1 Colin Bennett 2008-11-12 00:14:21 UTC
Created attachment 171480 [details, diff]
Patch enabling CFLAGS to be specified (use w/ updated ebuild below)
Comment 2 Colin Bennett 2008-11-12 00:14:50 UTC
Created attachment 171482 [details, diff]
Patch supporting FEATURES=nostrip (use w/ ebuild below)
Comment 3 Colin Bennett 2008-11-12 00:16:14 UTC
Created attachment 171484 [details]
spim ebuild supporting FEATURES=nostrip and proper CFLAGS handling

Updated app-emulation/spim-7.3 ebuild:

Support FEATURES=nostrip by patching out the '-s' option to install.  Use EAPI=2.  Properly pass CFLAGS and LDFLAGS to the build.
Comment 4 Łukasz Damentko (RETIRED) gentoo-dev 2009-03-17 21:54:45 UTC
Moving to maintainer-needed@ since compnerd left Gentoo (#71985).
Comment 5 Dror Levin (RETIRED) gentoo-dev 2009-12-22 19:53:24 UTC
Fixed in ebuild for version 7.5.