#8112: flint fails to build in Open Solaris x64 as 64 bit if CFLAGS is not set
----------------------------+-----------------------------------------------
Reporter: jsp | Owner: drkirkby
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.3.2
Component: porting | Keywords:
Author: Jaap Spies | Upstream: N/A
Reviewer: David Kirkby | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Changes (by jsp):
* status: needs_work => needs_review
Comment:
Maybe the description was somewhat misleading or I was unclear over the
meaning of this.
What I propose is:
{{{
if [ "x$SAGE64" = xyes ]; then
FLINT_TUNE=" -fPIC -m64 -funroll-loops"
export CFLAGS="$CFLAGS -m64"
export CXXFLAGS="$CXXFLAGS -m64"
export CFLAG64="$CFLAG64 -m64"
export CXXFLAG64="$CXXFLAG -m64"
fi
}}}
Now if CFLAGS is empty the -m64 gets in.
See the patch.
Jaap
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8112#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.