Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gcc43.git;a=commitdiff;h=7211673f2e915c06ae513e1e7575611e18fd9bda

commit 7211673f2e915c06ae513e1e7575611e18fd9bda
Author: crazy <[EMAIL PROTECTED]>
Date:   Sat Mar 8 13:17:37 2008 +0100

util.sh
* remove gcc hack from here , never worked
* will be moved to makepkg for now and for Kalgan+1 to makepkg.conf
* added comment for LDFLAGS these have to be moved to makepkg.conf also

diff --git a/source/include/util.sh b/source/include/util.sh
index 49ed8d7..ef8d898 100644
--- a/source/include/util.sh
+++ b/source/include/util.sh
@@ -83,11 +83,7 @@ Flocalstatedir="/var"
Fmenudir="/usr/share/applications"
Farchs=('i686' 'x86_64' 'ppc')
Fconfopts="--prefix=$Fprefix"
-_gccver=`type -p gcc >/dev/null && gcc -dumpversion`
-if [ "${_gccver%%.?}" == "4.2" ]; then
-       export CFLAGS="$CFLAGS -fno-strict-aliasing"
-       export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
-fi
+## Move to makepkg.conf for Kalgan+1
export LDFLAGS="-Wl,--hash-style=both"

###
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to