diff options
author | Jani Välimaa <wally@mageia.org> | 2015-12-31 11:02:51 +0200 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2015-12-31 12:10:07 +0200 |
commit | b5e2b7e12a349a9260f59b04150b555c47344114 (patch) | |
tree | 69f206c755cfeb413aa513f46884086e827c472b /drop-ld-no-undefined-for-shared-lib-modules-in-libtool | |
parent | 259026fe475487da468085184148c70c7da1ff16 (diff) | |
download | rpm-setup-b5e2b7e12a349a9260f59b04150b555c47344114.tar rpm-setup-b5e2b7e12a349a9260f59b04150b555c47344114.tar.gz rpm-setup-b5e2b7e12a349a9260f59b04150b555c47344114.tar.bz2 rpm-setup-b5e2b7e12a349a9260f59b04150b555c47344114.tar.xz rpm-setup-b5e2b7e12a349a9260f59b04150b555c47344114.zip |
Don't append %ldflags to $LDFLAGS forcibly
This makes the behaviour similar with CFLAGS/CXXFLAGS/FFLAGS.
Previously 'export LDFLAGS="%{ldflags} -lfoo"' before %setup_compile_flags usage
in .spec caused LDFLAGS being exported as '%{ldflags} -lfoo %{ldflags}'
If %ldflags is %nil which is pretty unlikely and LDFLAGS isn't exported beforehand,
then LDFLAGS is just empty.
Diffstat (limited to 'drop-ld-no-undefined-for-shared-lib-modules-in-libtool')
0 files changed, 0 insertions, 0 deletions