[SM-Commit] GIT changes to master games grimoire by Thomas Orgis (84aef2e19c688b23711f87f1b5b7e67f873a0d93)

Thomas Orgis scm at mail.sourcemage.org
Sat Jun 24 10:24:53 EDT 2006


GIT changes to master games grimoire by Thomas Orgis <orgis at adams.agnld.uni-potsdam.de>:

 FUNCTIONS |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

New commits:
commit 84aef2e19c688b23711f87f1b5b7e67f873a0d93
Author: Thomas Orgis <orgis at adams.agnld.uni-potsdam.de>
Commit: Thomas Orgis <orgis at adams.agnld.uni-potsdam.de>

    updated disable_pic for alpha

diff --git a/FUNCTIONS b/FUNCTIONS
index 6989ca9..a994142 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -208,17 +208,18 @@ ## disable_pic
 ## A function to smartly disable -DPIC and -fPIC flags
 ## has one optional parameter: force which forces disable
 #---
-
 disable_pic() {
-if [[ "$SMGL_COMPAT_ARCHS[1]" != "x86_64" ]] ||
-   [[ "$1" == "force" ]]
-then
-CFLAGS=${CFLAGS/-fPIC}                    &&
-CFLAGS=${CFLAGS/-DPIC}                    &&
-CXXFLAGS=${CXXFLAGS/-fPIC}                &&
-CXXFLAGS=${CXXFLAGS/-DPIC}
-fi
-}
+  if [[ "${SMGL_COMPAT_ARCHS[1]}" != "x86_64" ]] &&
+     [[ "${SMGL_COMPAT_ARCHS[1]}" != "alpha"  ]] ||
+     [[ "$1" == "force" ]]
+  then
+    CFLAGS=${CFLAGS/-fPIC}                    &&
+    CFLAGS=${CFLAGS/-DPIC}                    &&
+    CXXFLAGS=${CXXFLAGS/-fPIC}                &&
+    CXXFLAGS=${CXXFLAGS/-DPIC}
+  fi
+} 
+
 #
 ## Function to check if we're using xorg-modular libs or not
 #



More information about the SM-Commit mailing list