#12821: testcc.sh: allow $CC to contain multiple words
----------------------------------+-----------------------------------------
Reporter: jdemeyer | Owner: jdemeyer
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: build | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Leif Leonhardy
Authors: Jeroen Demeyer | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by jdemeyer):
New version of [attachment:12821_testcc.patch] needs review.
I disagree about appending `-O0`. I think the user's `CFLAGS` should
always override the SPKG's `CFLAGS` without exceptions. What if the user
for some reason wants `--enable-debug` but still `-O2`?
In any case, the following would be very inconsistent:
{{{
#!sh
if [ "x$SAGE_DEBUG" = "xyes" ]; then
CFLAGS="$CFLAGS -O0"
ENABLE_DEBUG="--enable-debug"
else
CFLAGS="-O2 $CFLAGS"
ENABLE_DEBUG=""
fi
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12821#comment:31>
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.