Commit a8e4962a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

configure: Use fno-omit-frame-pointer with --enable-release on Mac OS X, as we...

configure: Use fno-omit-frame-pointer with --enable-release on Mac OS X, as we are collecting crash log.
parent 74bc4880
...@@ -1026,7 +1026,12 @@ AC_CACHE_CHECK([if \$CC accepts -fomit-frame-pointer], ...@@ -1026,7 +1026,12 @@ AC_CACHE_CHECK([if \$CC accepts -fomit-frame-pointer],
[CFLAGS="${CFLAGS_save} -fomit-frame-pointer" [CFLAGS="${CFLAGS_save} -fomit-frame-pointer"
AC_TRY_COMPILE([],,ac_cv_c_omit_frame_pointer=yes, ac_cv_c_omit_frame_pointer=no)]) AC_TRY_COMPILE([],,ac_cv_c_omit_frame_pointer=yes, ac_cv_c_omit_frame_pointer=no)])
if test "${ac_cv_c_omit_frame_pointer}" != "no"; then if test "${ac_cv_c_omit_frame_pointer}" != "no"; then
if test "${SYS}" != "darwin"; then
CFLAGS_OPTIM_NODEBUG="${CFLAGS_OPTIM_NODEBUG} -fomit-frame-pointer" CFLAGS_OPTIM_NODEBUG="${CFLAGS_OPTIM_NODEBUG} -fomit-frame-pointer"
else
dnl On darwin we explicitely disable it.
CFLAGS_OPTIM_NODEBUG="${CFLAGS_OPTIM_NODEBUG} -fno-omit-frame-pointer"
fi
fi fi
dnl Check for Darwin plugin linking flags dnl Check for Darwin plugin linking flags
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment