On Wednesday, February 2, 2011 7:52:08 PM UTC, John H Palmieri wrote:
>
> if [ "$SAGE64" = "yes" ]; then
>    echo "64 bit build"
>    CFLAGS="-O2 -g -fPIC -m64 "; export CFLAGS
>    LDFLAGS="-m64"; export LDFLAGS
> fi
>

Just overwrite CFLAGS/LDFLAGS, no ap/prepending? Nice.

if [ "x`uname -sm`" = "xSunOS i86pc" ] && [ "x$SAGE64" = xyes ]  ; then
>    # Need to add --with-dffi=no to disable assembly code on OpenSolaris 
> x64. 
>    # and Solaris 10 on x64. 
>    # The option is only given if all the following are true
>    # 1) Solaris, Solaris Express or OpenSolaris (SunOS) 
>    # 2) Intel or AMD CPU 
>    # 3) 64-bit build
>    ./configure --prefix="$SAGE_LOCAL" --with-dffi=no
> else
>    ./configure --prefix="$SAGE_LOCAL" 
> fi
>

That seems to be the only legit use. Though in an ideal world ECL would have 
an autoconf macro to check that they have suitable assembly code.


-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to