mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
Set -std=gnu99, matching master.
Fixes broken build on win32
This commit is contained in:
parent
bc9285bbfb
commit
42859b91bb
@ -311,6 +311,9 @@ AC_TRY_RUN([
|
||||
])
|
||||
CFLAGS="$GNC_OLDCFLAGS"
|
||||
LDFLAGS="$GNC_OLDLDFLAGS"
|
||||
dnl First remove any existing -std= setting from CFLAGS then add the one we want.
|
||||
CFLAGS=`echo ${CFLAGS} | sed -E -e "s,-std=[[a-z0-9]]+,,g"`
|
||||
CFLAGS="${CFLAGS} -std=gnu99"
|
||||
|
||||
# Gnucash replaced dlopen/dlsym by the g_module functions; dlsym
|
||||
# is needed optionally in one place for BSD linkers, though.
|
||||
|
Loading…
Reference in New Issue
Block a user