Closed ConiKost closed 3 weeks ago
That's probably because DSOFLAGS gets used when building a shared library instead of LDFLAGS. I can look at updating the configure script to use the LDFLAGS value if DSOFLAGS is not set...
That's probably because DSOFLAGS gets used when building a shared library instead of LDFLAGS. I can look at updating the configure script to use the LDFLAGS value if DSOFLAGS is not set...
Yes, you are right. I just tried and added DSOFLAGS=${LDFLAGS} and it worked for me.
[master ef6b468] Default DSOFLAGS to LDFLAGS (Issue #325)
In Gentoo, we have an internal check, so we know, if the build systems does respect the CFLAGS and LDFLAGS set by user.
In this example, my *FLAGS are: CFLAGS:
-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe
LDFLAGS:-Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--sort-common -Wl,-z,now
With mxml3, all is fine, but with mxml4, the checks fails, as LDFLAGS are not used the same as set by user.