-z: linker input file unused because linking not done

Andreas Metzler ametzler at downhill.at.eu.org
Sun Nov 12 10:32:16 CET 2006


On 2006-11-12 Andreas Metzler <ametzler at downhill.at.eu.org> wrote:
[...]
> -	LDFLAGS="$(LDFLAGS) -Wl,-z,defs" ./configure \
> +	LDFLAGS="$(LDFLAGS) -Wl,-z,defs" \
> +		CFLAGS="$(CFLAGS)" \
> +		./configure \
[...]
> It does not actually *change* most[1] executed commands in a signigicant
> way, gcc is executed with "-Wall -W -Wall -g -O2" instead of the
> currently used "-Wall -W -g -O2", but should be fixed anyway.

> The fact that -O2 is used by default is a bug on its own,
> DEB_BUILD_OPTIONS=noopt does not work. I have no idea how to fix it,
> autoconf seems to use it by default if gcc is detected.
[...]

Actually DEB_BUILD_OPTIONS=noopt does work *with* the patch. -O2 is
only appended if CFLAGS is not specified at all.

cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde



More information about the Pkg-cyrus-sasl2-debian-devel mailing list