[MPlayer-cvslog] r26080 - in trunk: configure loader/Makefile
cehoyos
subversion at mplayerhq.hu
Sun Feb 24 12:15:30 CET 2008
Author: cehoyos
Date: Sun Feb 24 12:15:30 2008
New Revision: 26080
Log:
Check for -mno-omit-leaf-frame-pointer (compilation fix for icc 10.1.012).
Modified:
trunk/configure
trunk/loader/Makefile
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sun Feb 24 12:15:30 2008
@@ -7592,6 +7592,7 @@ if test "$cc_vendor" = "gnu" ; then
cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
fi
+cc_check -mno-omit-leaf-frame-pointer && CFLAG_NO_OMIT_LEAF_FRAME_POINTER="-mno-omit-leaf-frame-pointer"
#this must be the last test to be performed or the ones following it will likely fail
#because libdvdnavmini is intentionally not linked against libdvdread (to permit mplayer
@@ -7650,6 +7651,7 @@ INSTALL = $_install
EXTRA_INC = $_inc_extra
EXTRAXX_INC = $_inc_extra $_inc_extraxx
OPTFLAGS = $CFLAGS \$(EXTRA_INC)
+CFLAG_NO_OMIT_LEAF_FRAME_POINTER = $CFLAG_NO_OMIT_LEAF_FRAME_POINTER
CXXFLAGS = $CXXFLAGS \$(EXTRAXX_INC)
CFLAG_STACKREALIGN = $_stackrealign
INSTALLSTRIP = $_install_strip
Modified: trunk/loader/Makefile
==============================================================================
--- trunk/loader/Makefile (original)
+++ trunk/loader/Makefile Sun Feb 24 12:15:30 2008
@@ -33,7 +33,7 @@ SRCS_COMMON += dshow/DS_AudioDecoder.c \
include ../mpcommon.mak
-CFLAGS+=-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
+CFLAGS+=-fno-omit-frame-pointer $(CFLAG_NO_OMIT_LEAF_FRAME_POINTER)
TEST_OBJS = $(LIBNAME_COMMON) ../cpudetect.o ../mp_msg.o ../mp_fifo.o ../osdep/libosdep.a
TEST_LDFLAGS = -ltermcap -ldl -lm -lpthread -g
More information about the MPlayer-cvslog
mailing list