[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42339] Reasonable defaults for CFLAGS, CXXFLA
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #42339] Reasonable defaults for CFLAGS, CXXFLAGS, FFLAGS |
Date: |
Mon, 12 May 2014 13:35:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.132 Safari/537.36 |
Update of bug #42339 (project octave):
Status: None => Works For Me
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Thanks for your bug report. There are reasonable defaults set for all 3, and
they are
CFLAGS = -g -O2
CXXFLAGS = -g -O2
FFLAGS = -O
And as you found, users are free to override to whatever they like via
environment or configure command-line. So there's no bug as far as I can tell,
closing as works for me.
Note that if you got no optimization, it is likely you had CFLAGS and/or
CXXFLAGS set in your environment. If it is set to an empty string, that is
still a value, and empty default flags is what you will get.
Note also that -march=native is a bad choice for a default option because 1)
the option not work with all compilers, and 2) the resulting binary may not
run on other systems.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42339>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/