Kaydet (Commit) 3281067e authored tarafından Benjamin Peterson's avatar Benjamin Peterson

handle an empty OPT variable correctly #8100

üst 4d42f2b4
...@@ -4596,7 +4596,7 @@ fi ...@@ -4596,7 +4596,7 @@ fi
# tweak OPT based on compiler and platform, only if the user didn't set # tweak OPT based on compiler and platform, only if the user didn't set
# it on the command line # it on the command line
if test -z "$OPT" if test "${OPT-unset}" == "unset"
then then
case $GCC in case $GCC in
yes) yes)
......
...@@ -881,7 +881,7 @@ fi], ...@@ -881,7 +881,7 @@ fi],
# tweak OPT based on compiler and platform, only if the user didn't set # tweak OPT based on compiler and platform, only if the user didn't set
# it on the command line # it on the command line
AC_SUBST(OPT) AC_SUBST(OPT)
if test -z "$OPT" if test "${OPT-unset}" == "unset"
then then
case $GCC in case $GCC in
yes) yes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment