[Openvas-devel] [openvas-Bugs][888] Impossible to override LDFLAGS which breaks builds on Mandriva 2009

openvas-bugs@wald.intevation.org openvas-bugs at wald.intevation.org
Mon Feb 16 14:53:06 CET 2009

Bugs item #888, was opened at 2009-02-16 13:53
Status: Open
Priority: 3
Submitted By: Stephan Kleine (bitshuffler)
Assigned to: Nobody (None)
Summary: Impossible to override LDFLAGS which breaks builds on Mandriva 2009 
Resolution: None
Severity: None
Version: v2.0
Component: openvas-libraries
Operating System: Linux
Product: OpenVAS
Hardware: None

Initial Comment:
The standard LDFLAGS on Mandriva 2009 are "-Wl,--as-needed -Wl,--no-undefined" of which "-Wl,--no-undefined" causes the build failing because it can't find the gnutls libraries (which obviously are installed).

Manually removing "-Wl,--no-undefined" makes it build just fine but doesn't really help since it is for some unknown reason impossible to override the LDFLAGS definition.

This could be related to another bug where normal "make && make install" compiles it actually 3 times and non-standard CFLAGS is only respected during the first build.

Attached is the build log on Mandriva 2009. In line #761 you can see the standard LDFLAGS definition and line #765 proves that it got successfully overridden but still the original definition is used as you can see in line #883.

Please have a look at your makefiles and fix this.

PS: That surely is no chroot issue since rpmbuild on a real Mandriva 2009 system throws the exact same error.


You can respond by visiting: 

More information about the Openvas-devel mailing list