summaryrefslogtreecommitdiff
path: root/astro/osmium/files/patch-test_run__tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'astro/osmium/files/patch-test_run__tests.sh')
-rw-r--r--astro/osmium/files/patch-test_run__tests.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/astro/osmium/files/patch-test_run__tests.sh b/astro/osmium/files/patch-test_run__tests.sh
new file mode 100644
index 000000000000..388e09a86eac
--- /dev/null
+++ b/astro/osmium/files/patch-test_run__tests.sh
@@ -0,0 +1,15 @@
+--- test/run_tests.sh.orig 2013-05-09 15:20:50 UTC
++++ test/run_tests.sh
+@@ -10,8 +10,10 @@
+
+ set -e
+
+-CXX="g++"
+-CXXFLAGS="-g -Wall -Wextra -Wredundant-decls -Wdisabled-optimization -pedantic -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wno-long-long"
++if [ -z "$CXX" ]; then
++ CXX="g++"
++fi
++CXXFLAGS="$CXXFLAGS -g -Wall -Wextra -Wredundant-decls -Wdisabled-optimization -pedantic -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wno-long-long"
+ COMPILE="$CXX -I../include -I. $CXXFLAGS -o tests"
+
+ if [ "x$1" = "x-v" ]; then