[CONFIGURATION]

* NEW: Remove "-march=native" compilation flag to see if it prevent arm gcc from crashing.


git-svn-id: svn://localhost/gambas/trunk@7554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-01-05 04:03:36 +00:00
parent 0b12686804
commit 5dbb6e7cc4

View file

@ -325,10 +325,10 @@ AC_DEFUN([GB_INIT],
dnl ---- Optimization flags
if test "x$gambas_optimization" = "xyes"; then
AM_CFLAGS_OPT="$AM_CFLAGS -O3 -march=native"
AM_CFLAGS="$AM_CFLAGS -Os -march=native"
AM_CXXFLAGS_OPT="$AM_CXXFLAGS -O3 -march=native -fno-omit-frame-pointer"
AM_CXXFLAGS="$AM_CXXFLAGS -Os -march=native -fno-omit-frame-pointer"
AM_CFLAGS_OPT="$AM_CFLAGS -O3"
AM_CFLAGS="$AM_CFLAGS -Os"
AM_CXXFLAGS_OPT="$AM_CXXFLAGS -O3 -fno-omit-frame-pointer"
AM_CXXFLAGS="$AM_CXXFLAGS -Os -fno-omit-frame-pointer"
else
AM_CFLAGS_OPT="$AM_CFLAGS -O0"
AM_CFLAGS="$AM_CFLAGS -O0"