Skip to content

Commit

Permalink
Don't add CXXFLAGS to CFLAGS
Browse files Browse the repository at this point in the history
Some CXXFLAGS such as enabling C++11 don't make sense for CC and will be
rejected, causing the compile to fail. We don't really test for flags being
compatible with the C compiler anyway, and we don't have enough C files to
care that much.
  • Loading branch information
qris committed Jun 25, 2017
1 parent 0cf64c8 commit 2ad9ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/makebuildenv.pl.in
Expand Up @@ -410,7 +410,7 @@ WINDRES = @WINDRES@

# Work around a mistake in QDBM (using <angled> includes for a file not in the
# system path) by adding it to the include path with -I.
DEFAULT_CFLAGS = $autoconf_cppflags $default_cflags $autoconf_cxxflags \\
DEFAULT_CFLAGS = $autoconf_cppflags $default_cflags \\
$extra_platform_defines $platform_compile_line_extra \\
-DBOX_VERSION="\\"$product_version\\"" -Iqdbm
DEFAULT_CXXFLAGS = $autoconf_cppflags $default_cxxflags $autoconf_cxxflags \\
Expand Down

0 comments on commit 2ad9ee9

Please sign in to comment.