[csw-devel] SF.net SVN: gar:[16146] csw/mgar/pkg/cpptest/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Wed Nov 9 12:53:42 CET 2011
Revision: 16146
http://gar.svn.sourceforge.net/gar/?rev=16146&view=rev
Author: dmichelsen
Date: 2011-11-09 11:53:41 +0000 (Wed, 09 Nov 2011)
Log Message:
-----------
cpptest/trunk: Skip compiler runpathes
Modified Paths:
--------------
csw/mgar/pkg/cpptest/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/cpptest/trunk/files/0001-Keep-norunpath-during-linking.patch
Modified: csw/mgar/pkg/cpptest/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpptest/trunk/Makefile 2011-11-09 11:24:12 UTC (rev 16145)
+++ csw/mgar/pkg/cpptest/trunk/Makefile 2011-11-09 11:53:41 UTC (rev 16146)
@@ -10,6 +10,8 @@
MASTER_SITES = $(SF_MIRROR)
DISTFILES = $(NAME)-$(VERSION).tar.gz
+PATCHFILES += 0001-Keep-norunpath-during-linking.patch
+
PACKAGES = CSWlibcpptest0
SPKG_DESC_CSWlibcpptest0 = Unit testing framework for handling automated tests in C++, libcpptest.so.0
PKGFILES_CSWlibcpptest0 = $(call pkgfiles_lib,libcpptest.so.0)
@@ -22,4 +24,6 @@
BUILD64 = 1
+EXTRA_CXXFLAGS = -norunpath
+
include gar/category.mk
Added: csw/mgar/pkg/cpptest/trunk/files/0001-Keep-norunpath-during-linking.patch
===================================================================
--- csw/mgar/pkg/cpptest/trunk/files/0001-Keep-norunpath-during-linking.patch (rev 0)
+++ csw/mgar/pkg/cpptest/trunk/files/0001-Keep-norunpath-during-linking.patch 2011-11-09 11:53:41 UTC (rev 16146)
@@ -0,0 +1,25 @@
+From 58de68149b6a716e0295aeb14128f360e44cf7cd Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Wed, 9 Nov 2011 12:33:56 +0100
+Subject: [PATCH] Keep -norunpath during linking
+
+---
+ config/ltmain.sh | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/config/ltmain.sh b/config/ltmain.sh
+index 886f317..65c11b7 100755
+--- a/config/ltmain.sh
++++ b/config/ltmain.sh
+@@ -4809,7 +4809,7 @@ func_mode_link ()
+ # @file GCC response files
+ # -tp=* Portland pgcc target processor selection
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|-norunpath)
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ func_append compile_command " $arg"
+--
+1.7.6.1
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list