#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 leif):

 The test for the compiler used in M4RIE's `spkg-install` to add specific
 flags is still a bit weird; you could just use `testcflags.sh` for all of
 this, although `+ z` is currently a bit problematic (in case the space is
 really required), because `testcflags.sh` tests the flags one by one, and
 passing `"+ z"` as a single parameter to it might not work either, since
 the compiler most probably doesn't expect it to be passed as a single
 argument.

 But the quoting in `testcflags.sh` wouldn't work as expected anyway, so
 you could just omit the quotes there ''when calling the compiler'' with
 previous and the currently to be tested flags.


 [[BR]]


 If `SAGE_DEBUG=yes`, `-O0` should be '''ap'''pended to `CFLAGS`, as it
 was.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12821#comment:17>
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.

Reply via email to