[SM-Commit] GIT changes to test grimoire by Jaka Kranjc (4f1834ea90d2549c1842ba3da553c2abff23abb7)

Jaka Kranjc scm at mail.sourcemage.org
Sun Jun 4 13:35:01 EDT 2006


GIT changes to test grimoire by Jaka Kranjc <lynxlynxlynx at sourcemage.org>:

 libs/librootapp/BUILD   |    8 ++++++--
 libs/librootapp/HISTORY |    3 +++
 2 files changed, 9 insertions(+), 2 deletions(-)

New commits:
commit 4f1834ea90d2549c1842ba3da553c2abff23abb7
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    librootapp: Add and remove -fPIC for #11397

diff --git a/libs/librootapp/BUILD b/libs/librootapp/BUILD
index 3b18949..44f2141 100755
--- a/libs/librootapp/BUILD
+++ b/libs/librootapp/BUILD
@@ -1,2 +1,6 @@
-	sedit	's:/usr/local:/usr:g'	Init.make  &&
-	make
+sed -i 's:/usr/local:/usr:g' Init.make &&
+# disable_pic will only disable it on non-x86_64 systems
+# so these two lines effectively enable it only on x86_64 systems
+CFLAGS="$CFLAGS -fPIC -DPIC" &&
+disable_pic &&
+make
diff --git a/libs/librootapp/HISTORY b/libs/librootapp/HISTORY
index 3ad3eb4..9207b0a 100644
--- a/libs/librootapp/HISTORY
+++ b/libs/librootapp/HISTORY
@@ -1,3 +1,6 @@
+2006-06-04 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* BUILD: Add and remove -fPIC for #11397 (disable_pic is intelligent)
+
 2006-03-12 Karsten Behrmann <BearPerson at sourcemage.org>
 	* DETAILS: (automated) Add KEYWORDS
 



More information about the SM-Commit mailing list