tests: Remove CPPFLAGS from some compile commands
* tests/flags.at, tests/infer-tag.at: Remove unneeded CPPFLAGS from
OBJC & OBJCXX compile commands.
diff --git a/tests/flags.at b/tests/flags.at
index 82cfd8a..d88eea0 100644
--- a/tests/flags.at
+++ b/tests/flags.at
@@ -58,7 +58,7 @@
return 0;
}
]])
-compile="$OBJC $CPPFLAGS $OBJCFLAGS" link="$OBJC $OBJCFLAGS $LDFLAGS" source=a.m
+compile="$OBJC $OBJCFLAGS" link="$OBJC $OBJCFLAGS $LDFLAGS" source=a.m
],
[OBJCXX], [AT_DATA([a.mm],
[[#import <Foundation/Foundation.h>
@@ -81,7 +81,7 @@
return 0;
}
]])
-compile="$OBJCXX $CPPFLAGS $OBJCXXFLAGS" link="$OBJCXX $OBJCXXFLAGS $LDFLAGS" source="a.mm -o a.o"
+compile="$OBJCXX $OBJCXXFLAGS" link="$OBJCXX $OBJCXXFLAGS $LDFLAGS" source="a.mm -o a.o"
],
[F77], [AT_DATA([a.f],
[[ program main
diff --git a/tests/infer-tag.at b/tests/infer-tag.at
index 2f1818e..e74fe8e 100644
--- a/tests/infer-tag.at
+++ b/tests/infer-tag.at
@@ -79,7 +79,7 @@
}
]])
-AT_CHECK([$LIBTOOL --mode=compile $OBJC $CPPFLAGS $OBJCFLAGS -c a.m],
+AT_CHECK([$LIBTOOL --mode=compile $OBJC $OBJCFLAGS -c a.m],
[], [ignore], [ignore])
AT_CLEANUP
@@ -113,7 +113,7 @@
}
]])
-AT_CHECK([$LIBTOOL --mode=compile $OBJCXX $CPPFLAGS $OBJCXXFLAGS -c a.mm -o a.o],
+AT_CHECK([$LIBTOOL --mode=compile $OBJCXX $OBJCXXFLAGS -c a.mm -o a.o],
[], [ignore], [ignore])
AT_CLEANUP