SOURCES: opal-ac.patch (NEW) - libs must be passed in $LIBS, not $LDFLAGS
sls
sls at pld-linux.org
Wed Nov 5 17:28:05 CET 2008
Author: sls Date: Wed Nov 5 16:28:05 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- libs must be passed in $LIBS, not $LDFLAGS
---- Files affected:
SOURCES:
opal-ac.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/opal-ac.patch
diff -u /dev/null SOURCES/opal-ac.patch:1.1
--- /dev/null Wed Nov 5 17:28:06 2008
+++ SOURCES/opal-ac.patch Wed Nov 5 17:28:00 2008
@@ -0,0 +1,26 @@
+--- opal-3.4.2/opal.m4.orig 2008-11-05 01:14:05.259153713 +0100
++++ opal-3.4.2/opal.m4 2008-11-05 01:19:20.237505967 +0100
+@@ -364,12 +364,13 @@
+ [
+ old_CXXFLAGS="$CXXFLAGS"
+ old_LDFLAGS="$LDFLAGS"
++ old_LIBS="$LIBS"
+
+ CXXFLAGS="$CXXFLAGS $PTLIB_CFLAGS $PTLIB_CXXFLAGS"
+ if test "x${DEBUG_BUILD}" = xyes; then
+- LDFLAGS="$LDFLAGS $DEBUG_LIBS"
++ LIBS="$LIBS $DEBUG_LIBS"
+ else
+- LDFLAGS="$LDFLAGS $RELEASE_LIBS"
++ LIBS="$LIBS $RELEASE_LIBS"
+ fi
+
+ AC_LANG(C++)
+@@ -388,6 +389,7 @@
+
+ CXXFLAGS="$old_CXXFLAGS"
+ LDFLAGS="$old_LDFLAGS"
++ LIBS="$old_LIBS"
+
+ OPAL_MSG_CHECK([PTLIB has $1], [$opal_ptlib_option])
+ $4="$opal_ptlib_option"
================================================================
More information about the pld-cvs-commit
mailing list