mirror of
https://github.com/love2d/love.git
synced 2026-08-20 20:49:54 +02:00
configure.ac: Specify CXXFLAGS instead of CPPFLAGS.
Autotools uses CPPFLAGS for C preprocessor and CXXFLAGS for C++ compile flags.
This commit is contained in:
@@ -31,7 +31,7 @@ ACLOVE_CPP11_TEST
|
|||||||
|
|
||||||
# Add -fvisibility=hidden and -fvisibility-inlines-hidden
|
# Add -fvisibility=hidden and -fvisibility-inlines-hidden
|
||||||
CFLAGS="-fvisibility=hidden $CFLAGS"
|
CFLAGS="-fvisibility=hidden $CFLAGS"
|
||||||
CPPFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden $CPPFLAGS"
|
CXXFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden $CXXFLAGS"
|
||||||
|
|
||||||
# Allow people on OSX to use autotools, they need their platform files
|
# Allow people on OSX to use autotools, they need their platform files
|
||||||
AC_ARG_ENABLE([osx],
|
AC_ARG_ENABLE([osx],
|
||||||
|
|||||||
Reference in New Issue
Block a user