[lvm-devel] make: Non standard CLDFLAGS used for some targets
Marian Csontos
mcsontos at redhat.com
Thu Mar 15 10:11:34 UTC 2018
I am looking into Bug 1548715 - lvm2: Partial build flags injection
https://bugzilla.redhat.com/show_bug.cgi?id=1548715
I have found most of our code uses "standard" variables CFLAGS, LDFLAGS,
but at few places (e.g. dmeventd) CLDFLAGS is used for whatever reason.
The purpose is not clear to me... Anything to do with versioned symbols:
CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
Whatever the purpose is, this ignores set LDFLAGS variable.
1. Shall this be set to LDFLAGS as default, and extended with additional
options?
2. Shall this be used together with LDFLAGS, like ELDFLAGS?
-- Martian
More information about the lvm-devel
mailing list