Skip to content

Commit 5b57d40

Browse files
committed
Sync acinclude.m4 from core
1 parent 728f1e7 commit 5b57d40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

acinclude.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ if test "x$GCC" = "xyes"; then
105105
106106
# use C++17 if possible (Qt 6 requires it)
107107
AUD_CHECK_CXXFLAGS(-std=gnu++17)
108-
if [ "${CFLAGS#gnu++17}" = "$CFLAGS" ] ; then
109-
CFLAGS="$CFLAGS -std=gnu++11"
108+
if test "${CXXFLAGS%gnu++17}" = "$CXXFLAGS" ; then
109+
CXXFLAGS="$CXXFLAGS -std=gnu++11"
110110
fi
111111
112112
AUD_CHECK_CFLAGS(-Wtype-limits)

0 commit comments

Comments
 (0)