Package: tau / 2.17.3.1.dfsg-4

0003-Force-use-of-fPIC.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From d4783596acae9720e1a0da59dea8a4baf898ff67 Mon Sep 17 00:00:00 2001
From: Yann Dirson <ydirson@free.fr>
Date: Sat, 18 Oct 2014 18:23:57 +0200
Subject: [PATCH] Force use of -fPIC.

---
 src/Profile/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Profile/Makefile b/src/Profile/Makefile
index 831b95c..a8582f9 100644
--- a/src/Profile/Makefile
+++ b/src/Profile/Makefile
@@ -40,6 +40,9 @@ CEXTRA =
 #KAI#CEXTRA			= --one_per	   	   #ENDIF#
 ##############################################
 
+# Use -fPIC, so that the shared lib is correct
+#GNU#CEXTRA			= -fPIC		   	   #ENDIF#
+
 ##############################################
 #PGICC#PRELINK_PHASE = $(CXX) --prelink_objects $(OBJS) #ENDIF#
 #PGINOPRELINK#PRELINK_PHASE = #ENDIF#
-- 
2.1.1