diff options
author | Cameron Cawley | 2019-02-23 13:32:53 +0000 |
---|---|---|
committer | David Turner | 2019-02-24 11:29:09 +0000 |
commit | ad648f8a972cbd2ac61d594c6f0d2f6981bb84d3 (patch) | |
tree | 8291f42a8b6c3289e1b5641bdd5394c10748ecc2 /configure | |
parent | 4efa9c73d4141116892ee1cf732cdfbc259821e4 (diff) | |
download | scummvm-rg350-ad648f8a972cbd2ac61d594c6f0d2f6981bb84d3.tar.gz scummvm-rg350-ad648f8a972cbd2ac61d594c6f0d2f6981bb84d3.tar.bz2 scummvm-rg350-ad648f8a972cbd2ac61d594c6f0d2f6981bb84d3.zip |
CONFIGURE: Append pkg-config cflags to CXXFLAGS
CPPFLAGS should only contain options that are used by the preprocessor, however pkg-config may return C/C++ specific options which are unrecognised by windres.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4827,7 +4827,7 @@ if test "$_libunity" = yes ; then LIBUNITY_CFLAGS="$LIBUNITY_CFLAGS `pkg-config --cflags 'unity > 3.8.1' 2>> "$TMPLOG"`" fi append_var LIBS "$LIBUNITY_LIBS" - append_var INCLUDES "$LIBUNITY_CFLAGS" + append_var CXXFLAGS "$LIBUNITY_CFLAGS" fi define_in_config_h_if_yes "$_libunity" 'USE_UNITY' fi @@ -4901,7 +4901,7 @@ EOF if test "$_freetype2" = "yes"; then append_var LIBS "$FREETYPE2_LIBS" - append_var INCLUDES "$FREETYPE2_CFLAGS" + append_var CXXFLAGS "$FREETYPE2_CFLAGS" fi fi |