On 14/04/08 at 15:46 +0200, Andreas Tille wrote: > On Mon, 14 Apr 2008, Lucas Nussbaum wrote: > >> The problem is very likely to be caused by dpkg 1.14.18 now >> setting default values for CFLAGS and some other variables (see >> dpkg-buildpackage(1)). > > But in this case it should fail in my unstable chroot which it does not. > So I just can not reproduce the problem.
Your chroot wasn't up-to-date, or you weren't building with dpkg-buildpackage. The problem is that you set LDFLAGS to -s `gtk-config --libs`. It isn't expanded before it's passed to configure through the environment, so gcc complains. Replacing this with: LDFLAGS = -s $(shell gtk-config --libs) fixes the problem. Now, why did this break? Because make doesn't export variables by default, unless they are already defined in the env. dpkg-buildpackage defines CFLAGS and LDFLAGS in the env, so make exports them to subcommands. -- | Lucas Nussbaum | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ | | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]