# HG changeset patch
# User Jaap Spies <jaapspies@gmail.com>
# Date 1266940845 -3600
# Node ID 978594d57a2ae404b1297f89b136ce35341ef365
# Parent e019937ac3e16a0578ed7722f0e5fe9459026d76
#8112 Pass CFLAG64 to FLINT_TUNE and export CXXFLAG64 if SAGE64=yes
diff -r e019937ac3e1 -r 978594d57a2a SPKG.txt
|
a
|
b
|
|
| 32 | 32 | |
| 33 | 33 | == Changelog == |
| 34 | 34 | |
| | 35 | === flint-1.5.0.p4 (Jaap Spies, Feb 23th, 2010) === |
| | 36 | * #8112 Pass CFLAG64 to FLINT_TUNE if set for a 64 bit build. |
| | 37 | |
| 35 | 38 | === flint-1.5.0.p3 (David Kirkby, January 2nd, 2010) === |
| 36 | 39 | * #7815 Changed makes and spkg-install so that the flag -m64 got |
| 37 | 40 | added with a 64-bit build. |
| | 41 | |
| 38 | 42 | === flint-1.5.0.p1 (William Stein, September 25th, 2009) === |
| 39 | 43 | * Included a cygwin fix that involves naming the library .dll instead of .so. |
| 40 | 44 | |
diff -r e019937ac3e1 -r 978594d57a2a spkg-install
|
a
|
b
|
|
| 44 | 44 | FLINT_TUNE=" -fPIC -funroll-loops " |
| 45 | 45 | fi |
| 46 | 46 | |
| 47 | | if [ "$SAGE64" = "yes" ]; then |
| 48 | | FLINT_TUNE=" -fPIC -m64 -funroll-loops" |
| 49 | | export CFLAGS |
| 50 | | export CFLAG64 |
| | 47 | if [ -z "$CFLAG64" ] ; then |
| | 48 | CFLAG64=-m64 |
| | 49 | fi |
| | 50 | |
| | 51 | if [ -z "$CXXFLAG64" ] ; then |
| | 52 | CXXFLAG64=-m64 |
| | 53 | fi |
| | 54 | |
| | 55 | |
| | 56 | if [ "x$SAGE64" = xyes ]; then |
| | 57 | FLINT_TUNE=" -fPIC $CFLAG64 -funroll-loops" |
| 51 | 58 | export CXXFLAG64 |
| 52 | 59 | fi |
| 53 | 60 | |