mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add -mms-bitfields and -mwindows to configure.in.
On Windows, all C source files should be compiled with -mms-bitfields. But this was only the case for those in modules depending on gtk+. Fixes make check in src/app-utils. Link with -mwindows, making the DLLs and gnucash-bin.exe to run in the GUI subsystem. Clicking the bat will not open a console for gnucash, starting from MSYS will not print messages, anymore. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15493 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e6e07fdc1a
commit
fad14daab2
@ -2037,8 +2037,11 @@ else
|
||||
fi
|
||||
AC_MSG_RESULT($warnFLAGS)
|
||||
|
||||
# Extend LDFLAGS because libtool on Windows requires this argument
|
||||
LDFLAGS="${LDFLAGS} -no-undefined"
|
||||
# Adjust CFLAGS and LDFLAGS on Windows
|
||||
if test "x${platform_win32}" = "xyes"; then
|
||||
CFLAGS="${CFLAGS} -mms-bitfields"
|
||||
LDFLAGS="${LDFLAGS} -no-undefined -mwindows"
|
||||
fi
|
||||
|
||||
### --------------------------------------------------------------------------
|
||||
### Adjustments -- especially executables that aren't generated via
|
||||
|
Loading…
Reference in New Issue
Block a user