summaryrefslogtreecommitdiff
path: root/packages/ltrace/0.5.3/170-lib-supcc.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-05-20 04:58:46 (GMT)
committerAlexey Neyman <stilor@att.net>2017-07-08 17:57:56 (GMT)
commite7deac3aad394325f9e6fc6fda41d34ec94a59e0 (patch)
tree6ad88362f0bfa8385a91eb494009a4646aeb74b6 /packages/ltrace/0.5.3/170-lib-supcc.patch
parentb9af225f58e45c7fae7eb9d3689fe939243e7578 (diff)
Switch comp.libs/tools and debug to new framework.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/ltrace/0.5.3/170-lib-supcc.patch')
-rw-r--r--packages/ltrace/0.5.3/170-lib-supcc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/ltrace/0.5.3/170-lib-supcc.patch b/packages/ltrace/0.5.3/170-lib-supcc.patch
new file mode 100644
index 0000000..8842b91
--- /dev/null
+++ b/packages/ltrace/0.5.3/170-lib-supcc.patch
@@ -0,0 +1,16 @@
+Index: ltrace-0.5.3/configure
+===================================================================
+--- ltrace-0.5.3/configure
++++ ltrace-0.5.3/configure
+@@ -78,7 +78,10 @@ fi
+ rm -f conftest.c a.out
+
+ CFLAGS='-g -O2'
+-LIBS='-lelf -lsupc++ -liberty '
++LIBS='-lelf'
++[ -n "$HAVE_LIBSUPC__" ] && LIBS="$LIBS -lsupc++"
++[ -n "$HAVE_LIBIBERTY" ] && LIBS="$LIBS -liberty"
++
+ INSTALL='install -c'
+ iquote='-iquote '
+ iquoteend=''