r22197 - gnucash/trunk/packaging/win32 - Add EXTRA_CFLAGS for compiling on Win7

John Ralls jralls at code.gnucash.org
Mon May 21 18:10:01 EDT 2012


Author: jralls
Date: 2012-05-21 18:10:00 -0400 (Mon, 21 May 2012)
New Revision: 22197
Trac: http://svn.gnucash.org/trac/changeset/22197

Modified:
   gnucash/trunk/packaging/win32/custom.sh.sample
Log:
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]

Modified: gnucash/trunk/packaging/win32/custom.sh.sample
===================================================================
--- gnucash/trunk/packaging/win32/custom.sh.sample	2012-05-21 21:20:34 UTC (rev 22196)
+++ gnucash/trunk/packaging/win32/custom.sh.sample	2012-05-21 22:10:00 UTC (rev 22197)
@@ -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



More information about the gnucash-changes mailing list