From: simon Date: Thu, 8 Jan 2009 18:18:14 +0000 (+0000) Subject: Colin Watson reports a strange problem whereby krb5-config X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/9ac18d717148451cbffd83b485d65695416c4f5f?hp=73ca1783e8c72437ae0f0962e9a793f8853eeec5 Colin Watson reports a strange problem whereby krb5-config incorporates the environment variable CFLAGS into its output. Avoid exporting our version of it from the Makefile (which actually causes build failures, since quoting phase issues mean that the backticks in our version end up unexpanded). git-svn-id: svn://svn.tartarus.org/sgt/putty@8399 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/mkfiles.pl b/mkfiles.pl index 3a118ef9..77836b6d 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -935,6 +935,8 @@ if (defined $makefiles{'gtk'}) { "\n". "-include Makefile.local\n". "\n". + "unexport CFLAGS # work around a weird issue with krb5-config\n". + "\n". &splitline("CFLAGS = -O2 -Wall -Werror -g " . (join " ", map {"-I$dirpfx$_"} @srcdirs) . " `\$(GTK_CONFIG) --cflags`").