sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master games grimoire by Thomas Orgis (84aef2e19c688b23711f87f1b5b7e67f873a0d93)
- From: Thomas Orgis <scm AT mail.sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master games grimoire by Thomas Orgis (84aef2e19c688b23711f87f1b5b7e67f873a0d93)
- Date: Sat, 24 Jun 2006 09:24:53 -0500
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
#
- [SM-Commit] GIT changes to master games grimoire by Thomas Orgis (84aef2e19c688b23711f87f1b5b7e67f873a0d93), Thomas Orgis, 06/24/2006
Archive powered by MHonArc 2.6.24.