diff options
Diffstat (limited to 'ld/testsuite/ld-pe/pe-compile.exp')
-rw-r--r-- | ld/testsuite/ld-pe/pe-compile.exp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ld/testsuite/ld-pe/pe-compile.exp b/ld/testsuite/ld-pe/pe-compile.exp index 5282cfd..3ffb3f2 100644 --- a/ld/testsuite/ld-pe/pe-compile.exp +++ b/ld/testsuite/ld-pe/pe-compile.exp @@ -35,12 +35,11 @@ if { ![check_compiler_available] } { proc build_basefile1_o {} { global CC_FOR_TARGET - global CFLAGS_FOR_TARGET global srcdir global subdir # Compile the object file. - if ![ld_compile "$CC_FOR_TARGET $CFLAGS_FOR_TARGET" $srcdir/$subdir/basefile1.s tmpdir/basefile1.o] { + if ![ld_compile $CC_FOR_TARGET $srcdir/$subdir/basefile1.s tmpdir/basefile1.o] { fail "compiling basefile1 object" } } @@ -76,12 +75,11 @@ proc run_basefile_test { testname } { proc build_vers_script_dll_o {} { global CC_FOR_TARGET - global CFLAGS_FOR_TARGET global srcdir global subdir # Compile the object file. - if ![ld_compile "$CC_FOR_TARGET $CFLAGS_FOR_TARGET -shared" $srcdir/$subdir/vers-script-dll.c tmpdir/vers-script-dll.o] { + if ![ld_compile "$CC_FOR_TARGET -shared" $srcdir/$subdir/vers-script-dll.c tmpdir/vers-script-dll.o] { fail "compiling shared lib object" } } |