Add condition to check if CXXFLAGS variable is empty

This commit is contained in:
Nicolas Saillant 2024-08-21 16:13:38 +02:00
parent ce678a62b9
commit 35b5c086af
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ sub reformat_results($)
# if (/BOOST_BIMAP_VERSION = '([^']+)'/) {
# $BOOST="$BOOST+bimap";
# }
if (/USING +CXXFLAGS = '([^']*)'/) {
if (/USING +CXXFLAGS = '([^']*)'/ && !$CXXFLAGS) {
$CXXFLAGS="$CXXFLAGS $1";
}
if (/USING +LDFLAGS = '([^']*)'/) {