AP_Math: change optimisation from -O3 to -O2

This commit is contained in:
Andrew Tridgell 2019-09-28 06:45:12 +10:00
parent 7c3df18ea3
commit 13a2367278
7 changed files with 7 additions and 7 deletions

View File

@ -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"

View File

@ -2,7 +2,7 @@
* N dimensional matrix operations
*/
#pragma GCC optimize("O3")
#pragma GCC optimize("O2")
#include "matrixN.h"

View File

@ -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>

View File

@ -18,7 +18,7 @@
#include "AP_Math.h"
#pragma GCC optimize("O3")
#pragma GCC optimize("O2")
/*
* The point in polygon algorithm is based on:

View File

@ -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"

View File

@ -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"

View File

@ -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"