Split wxMAKEFILE_FLAGS in separate CXX/LDFLAGS variables
This will allow appending extra CXXFLAGS to use with make in the upcoming commit.
This commit is contained in:
@@ -69,6 +69,13 @@ case $wxTOOLSET in
|
||||
|
||||
[ "$wxALLOW_WARNINGS" = 1 ] || export CXXFLAGS='-Werror -Wno-error=cpp'
|
||||
|
||||
if [ -n "$wxMAKEFILE_CXXFLAGS" ]; then
|
||||
wxMAKEFILE_FLAGS="CXXFLAGS=$wxMAKEFILE_CXXFLAGS"
|
||||
fi
|
||||
if [ -n "$wxMAKEFILE_LDFLAGS" ]; then
|
||||
wxMAKEFILE_FLAGS="$wxMAKEFILE_FLAGS LDFLAGS=$wxMAKEFILE_LDFLAGS"
|
||||
fi
|
||||
|
||||
echo 'travis_fold:start:building'
|
||||
echo 'Building...'
|
||||
make -k $wxBUILD_ARGS
|
||||
|
Reference in New Issue
Block a user