From 7423741ea35dbdb3f7e231e520fb2663e0d6c554 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Mon, 21 May 2012 22:10:00 +0000 Subject: [PATCH] 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. [BP] git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22197 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..ce8bd301b6 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