From 4e4134ff06e6afe1700750faad748ed799212f39 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Mon, 21 May 2012 22:12:32 +0000 Subject: [PATCH] [22197]Add EXTRA_CFLAGS for compiling on Win7 Configure gets confused by some gcc builtins on Win7: Disable them so that configure finds the right settings. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@22198 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/custom.sh.sample | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/win32/custom.sh.sample b/packaging/win32/custom.sh.sample index a4745eec3c..52c44735b9 100644 --- a/packaging/win32/custom.sh.sample +++ b/packaging/win32/custom.sh.sample @@ -17,3 +17,5 @@ # function greetings() { setup Greetings; } # QTDIR=c:\\Qt\\4.2.3 # CROSS_COMPILE=yes +#Uncomment this for building on Win7 (and maybe Vista): +#EXTRA_CFLAGS="-fno-builtin-dgettext -fno-builtin-towupper -fno-builtin-iswlower \ No newline at end of file