Skip to content

Commit 0c1fa35

Browse files
committed
Adjust Guile config params and CFlags to build with current Mingw-w64.
1 parent 5b7b124 commit 0c1fa35

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

gnucash.modules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</dependencies>
104104
</autotools>
105105

106-
<autotools id="guile2" autogen-sh="autoreconf" autogenargs="--disable-rpath --enable-networking --enable-nls --enable-posix --enable-regex --with-threads=no --with-modules --disable-static">
106+
<autotools id="guile2" autogen-sh="autoreconf" autogenargs="--disable-rpath --enable-networking --enable-nls --enable-posix --enable-regex --without-64-calls --with-threads=no --with-modules --disable-static">
107107
<branch repo="sourceforge" module="gnucash/Dependencies/guile-2.2.7.3-5ef31.tar.xz"
108108
version=" 2.2.7.3-5ef31">
109109
<patch file="guile-2.2.7.3-getpagesize-decl.patch" strip="0"/>

jhbuildrc.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,5 @@ _cflags = os.environ['CFLAGS'] if 'CFLAGS' in os.environ else ""
9191

9292
module_extra_env['bdw-gc']={'CFLAGS':_cflags + ' -fcommon'}
9393
module_extra_env['gwenhywfar'] = {'CFLAGS':_cflags + " -Wno-incompatible-pointer-types"}
94+
module_extra_env['pgsql'] = {'CFLAGS':_cflags + " -std=c11 -DWIN32 -D_cdecl=__cdecl"}
95+
module_extra_env['guile2'] = {'CFLAGS':_cflags + '-Wno-int-conversion -Wno-implicit-function-declaration -Wno-maybe-uninitialized'}

0 commit comments

Comments
 (0)