mirror of https://github.com/ArduPilot/ardupilot
AP_Math: change optimisation from -O3 to -O2
This commit is contained in:
parent
7c3df18ea3
commit
13a2367278
|
@ -16,7 +16,7 @@
|
|||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma GCC optimize("O3")
|
||||
#pragma GCC optimize("O2")
|
||||
|
||||
#include "AP_Math.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* N dimensional matrix operations
|
||||
*/
|
||||
|
||||
#pragma GCC optimize("O3")
|
||||
#pragma GCC optimize("O2")
|
||||
|
||||
#include "matrixN.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma GCC optimize("O3")
|
||||
#pragma GCC optimize("O2")
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "AP_Math.h"
|
||||
|
||||
#pragma GCC optimize("O3")
|
||||
#pragma GCC optimize("O2")
|
||||
|
||||
/*
|
||||
* The point in polygon algorithm is based on:
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma GCC optimize("O3")
|
||||
#pragma GCC optimize("O2")
|
||||
|
||||
#include "AP_Math.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma GCC optimize("O3")
|
||||
#pragma GCC optimize("O2")
|
||||
|
||||
#include "AP_Math.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma GCC optimize("O3")
|
||||
#pragma GCC optimize("O2")
|
||||
|
||||
#include "AP_Math.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue