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

Bug 67959

Summary: handling of LDFLAGS in app-editors/emacs
Product: Gentoo Linux Reporter: Faustus <orlovm>
Component: Current packagesAssignee: Emacs project <emacs>
Status: RESOLVED INVALID    
Severity: normal CC: vapier
Priority: High    
Version: 2004.2   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Faustus 2004-10-17 18:08:17 UTC
this package uses LDFLAGS for both gcc and ld

for example, I set LDFLAGS as LDFLAGS="-Wl,-O,1,-z,combreloc" in /etc/make.conf,
and the building process fails

setting LDFLAGS to "-O 1 -z combreloc" would also fail the build during the
configure phase, because LDFLAGS would be directly appended to gcc options

perhaps this is an issue broader than just emacs build
Comment 1 SpanKY gentoo-dev 2004-11-15 23:19:36 UTC
LDFLAGS="-Wl,-O,....." is not valid

for now, stop doing it

see Bug 65002