OSDN Git Service

* lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / lib / obj-c++.exp
index 2b7c944..e88e011 100644 (file)
@@ -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"