aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/obj-c++.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/lib/obj-c++.exp')
-rw-r--r--gcc/testsuite/lib/obj-c++.exp7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/testsuite/lib/obj-c++.exp b/gcc/testsuite/lib/obj-c++.exp
index 2b7c944b557..e88e011bb2c 100644
--- a/gcc/testsuite/lib/obj-c++.exp
+++ b/gcc/testsuite/lib/obj-c++.exp
@@ -284,11 +284,12 @@ proc obj-c++_init { args } {
#
proc obj-c++_target_compile { source dest type options } {
- global tmpdir;
+ global tmpdir
+ global srcdir
global gpp_compile_options
global gluefile wrap_flags
- global ALWAYS_OBJCXXFLAGS;
- global OBJCXX_UNDER_TEST;
+ global ALWAYS_OBJCXXFLAGS
+ global OBJCXX_UNDER_TEST
lappend options "libs=-lobjc"