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