[vlc-commits] Don't force fno-omit-frame-pointer on darwin

Rafaël Carré git at videolan.org
Sat Nov 19 14:50:38 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Nov 19 07:26:00 2011 -0500| [62e0c8ad56cc47154c24816a112d06a326c932af] | committer: Rafaël Carré

Don't force fno-omit-frame-pointer on darwin

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=62e0c8ad56cc47154c24816a112d06a326c932af
---

 configure.ac |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index ffce8de..fd2c533 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1064,15 +1064,9 @@ AS_IF([test "${enable_optimizations}" != "no"], [
     ])
     AS_IF([test "${ac_cv_c_omit_frame_pointer}" != "no"], [
       VLC_RESTORE_FLAGS
-      AS_IF([test "${SYS}" != "darwin"], [
         CFLAGS="${CFLAGS} -fomit-frame-pointer"
         CXXFLAGS="${CXXFLAGS} -fomit-frame-pointer"
-      ], [
-        dnl On darwin we explicitely disable it.
-        CFLAGS="${CFLAGS} -fno-omit-frame-pointer"
-        CXXFLAGS="${CXXFLAGS} -fno-omit-frame-pointer"
-        OBJCFLAGS="${OBJCFLAGS} -fno-omit-frame-pointer"
-      ])
+        OBJCFLAGS="${OBJCFLAGS} -fomit-frame-pointer"
       VLC_SAVE_FLAGS
     ])
   ])



More information about the vlc-commits mailing list