Also set the CXXFLAG to the user supplied flags

Reviewed-by: Rich Salz <rsalz@openssl.org>

GH: #2025
This commit is contained in:
Kurt Roeckx 2016-12-03 16:57:04 +01:00
parent 2886a69ca5
commit 7cb58c0ffa

View File

@ -1305,7 +1305,7 @@ unless ($disabled{"crypto-mdebug-backtrace"})
}
}
if ($user_cflags ne "") { $config{cflags}="$config{cflags}$user_cflags"; }
if ($user_cflags ne "") { $config{cflags}="$config{cflags}$user_cflags"; $config{cxxflags}="$config{cxxflags}$user_cflags";}
else { $no_user_cflags=1; }
if (@user_defines) { $config{defines}=[ @{$config{defines}}, @user_defines ]; }
else { $no_user_defines=1; }