From: Perforce Review Daemon <p4review AT smee.org>
To: "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT sourcemage.org>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "David Kowis" <dkowis+smgl-p4 AT shlrm.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Eric Sandall" <eric AT sandall.us>, "Ethan Grammatikidis" <eekee AT eekee.is-a-geek.org>, "Gareth Clay" <gareth AT caffeinefuelled.co.uk>, "George J. Sherwood" <george AT beernabeer.com>, "Jason Flatt" <jflatt AT sourcemage.org>, "Juuso Alasuutari" <iuso AT sourcemage.org>, "Ladislav Hagara" <ladislav.hagara AT unob.cz>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Pol Vinogradov" <vin.public AT gmail.com>, "Robin Cook" <rcook AT wyrms.net>, "Seth Woolley" <seth AT swoolley.homeip.net>, "Unet" <unet AT sourcemage.org>, "vladimir_marek" <vlmarek AT volny.cz>
Subject: [SM-Commit] PERFORCE change 77594 by Andra?? "ruskie" Levstik for review
Date: Tue, 11 Apr 2006 10:35:05 +0100 (BST)
Change 77594 by andraž_levstik AT omega.mages.ath.cx on 2006/04/11 10:33:15
# fails to compile with -DPIC -fPIC except on systems that need -fPIC
-if [[ "$HOST" == x86_64-* ]]; then
+if [[ "$SMGL_COMPAT_ARCHS[1]" != "x86_64" ]]
+then
CFLAGS=${CFLAGS/-mmmx/}
-else
- CFLAGS=${CFLAGS/-DPIC/} &&
- CFLAGS=${CFLAGS/-fPIC/}
fi &&
+disable_pic &&
if ! echo $CFLAGS | grep -q -- "-O."; then
CFLAGS="$CFLAGS -O2"
@@ -1,3 +1,6 @@
+2006-04-11 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx:
+ * BUILD: replaced fPIC and DPIC removal code with disable_pic
+
2006-03-17 Arwed v. Merkatz <v.merkatz AT gmx.net>
* BUILD: removed old gcc 3.4 fixes that don't apply to 1.8.0 anymore,
compile with --without-libquicktime as it's broken
[SM-Commit] PERFORCE change 77594 by Andra?? "ruskie" Levstik for review,
Perforce Review Daemon, 04/11/2006