# New Ticket Created by  Paul Cochrane 
# Please include the string:  [perl #43151]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43151 >


In config/init/optimize.pm when setting the compiler optimisation
flags there is the comment:

            # gcc 4.1 doesn't like -mcpu=xx, i.e. it's deprecated
            # XXX do we know compiler (version) already?

We need to have the compiler version information available at this
point in the code, and use it to change the optimisation argument.
This is especially true for gcc because one should use -march instead
of -mcpu.

Reply via email to