]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Colin Watson reports a strange problem whereby krb5-config
authorSimon Tatham <anakin@pobox.com>
Thu, 8 Jan 2009 18:18:14 +0000 (18:18 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 8 Jan 2009 18:18:14 +0000 (18:18 +0000)
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).

[originally from svn r8399]

mkfiles.pl

index 3a118ef9ac5f2de2a1861bdae3ecaa2500f4ef74..77836b6dd137b71d1fbf9d359c850bfc944f7a2b 100755 (executable)
@@ -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`").