diff options
author | Anthony Green <green@moxielogic.com> | 2019-10-14 12:49:06 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2019-10-14 12:49:06 -0400 |
commit | 8857351b8979930d6fbb3403a2ec8f1ef1d25247 (patch) | |
tree | 4bddd9f7e23c27331370ad1f2a9145bccd7bc2e2 | |
parent | 54ba9b2a28b3a1bda8937cdccc242121fb096bb3 (diff) | |
download | libffi-8857351b8979930d6fbb3403a2ec8f1ef1d25247.tar.gz |
Don't quote $env
-rw-r--r-- | testsuite/lib/libffi.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/lib/libffi.exp b/testsuite/lib/libffi.exp index 201313c..77d6414 100644 --- a/testsuite/lib/libffi.exp +++ b/testsuite/lib/libffi.exp @@ -482,7 +482,7 @@ proc run-many-tests { testcases extra_flags } { "clang" { set common "-W -Wall" if [info exists env(LIBFFI_TEST_OPTIMIZATION)] { - set optimizations { "$env(LIBFFI_TEST_OPTIMIZATION)" } + set optimizations { $env(LIBFFI_TEST_OPTIMIZATION) } } else { set optimizations { "-O0" "-O2" } } @@ -490,7 +490,7 @@ proc run-many-tests { testcases extra_flags } { "gnu" { set common "-W -Wall -Wno-psabi" if [info exists env(LIBFFI_TEST_OPTIMIZATION)] { - set optimizations { "$env(LIBFFI_TEST_OPTIMIZATION)" } + set optimizations { $env(LIBFFI_TEST_OPTIMIZATION) } } else { set optimizations { "-O0" "-O2" "-O2 -fomit-frame-pointer" } } @@ -499,7 +499,7 @@ proc run-many-tests { testcases extra_flags } { # Assume we are using the vendor compiler. set common "" if [info exists env(LIBFFI_TEST_OPTIMIZATION)] { - set optimizations { "$env(LIBFFI_TEST_OPTIMIZATION)" } + set optimizations { $env(LIBFFI_TEST_OPTIMIZATION) } } else { set optimizations { "" } } |