summaryrefslogtreecommitdiff
path: root/patches/cloog-ppl/0.15.9/100-add_on_libs_position.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/cloog-ppl/0.15.9/100-add_on_libs_position.patch')
-rw-r--r--patches/cloog-ppl/0.15.9/100-add_on_libs_position.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/cloog-ppl/0.15.9/100-add_on_libs_position.patch b/patches/cloog-ppl/0.15.9/100-add_on_libs_position.patch
new file mode 100644
index 0000000..94c4c8b
--- /dev/null
+++ b/patches/cloog-ppl/0.15.9/100-add_on_libs_position.patch
@@ -0,0 +1,24 @@
+diff -Naurd cloog-ppl-0.15.9-a/configure cloog-ppl-0.15.9-b/configure
+--- cloog-ppl-0.15.9-a/configure 2010-03-23 22:29:47.000000000 +0100
++++ cloog-ppl-0.15.9-b/configure 2012-01-27 13:28:03.866987993 +0100
+@@ -12902,7 +12902,7 @@
+
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+- LIBS="$LIBS -lppl_c -lppl -lgmpxx"
++ LIBS="-lppl_c -lppl -lgmpxx $LIBS"
+
+ cat >>confdefs.h <<\_ACEOF
+ #define CLOOG_PPL_BACKEND 1
+diff -Naurd cloog-ppl-0.15.9-a/configure.in cloog-ppl-0.15.9-b/configure.in
+--- cloog-ppl-0.15.9-a/configure.in 2010-03-23 22:29:47.000000000 +0100
++++ cloog-ppl-0.15.9-b/configure.in 2012-01-27 13:28:03.866987993 +0100
+@@ -345,7 +345,7 @@
+ #endif
+ ], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR(Can't find correct version of PPL.) ])
+
+- LIBS="$LIBS -lppl_c -lppl -lgmpxx"
++ LIBS="-lppl_c -lppl -lgmpxx $LIBS"
+ AC_DEFINE([CLOOG_PPL_BACKEND], 1, [Use the PPL backend])
+
+ else