Skip to content
Snippets Groups Projects
Commit bcbbefbf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Hugo Beauzée-Luyssen
Browse files

deinterlace: move CPPFLAGS to Makefile

parent 04cfde41
No related branches found
No related tags found
1 merge request!1934configure: allow VLC to run without AltiVec
......@@ -1679,7 +1679,6 @@ AS_IF([test "${enable_altivec}" = "yes"], [
VLC_RESTORE_FLAGS
AS_IF([test "${ac_cv_c_altivec}" != "no"], [
CPPFLAGS="${CPPFLAGS} ${ac_cv_c_altivec}"
AC_DEFINE(CAN_COMPILE_C_ALTIVEC, 1, [Define to 1 if C AltiVec extensions are available.])
have_altivec="yes"
])
AC_CHECK_HEADERS([altivec.h])
......
......@@ -179,6 +179,9 @@ libdeinterlace_plugin_la_SOURCES += video_filter/deinterlace/yadif_x86.asm
# inline ASM doesn't build with -O0
libdeinterlace_plugin_la_CFLAGS += -O2
endif
if HAVE_ALTIVEC
libdeinterlace_plugin_la_CPPFLAGS += -DCAN_COMPILE_C_ALTIVEC
endif
libdeinterlace_plugin_la_LIBADD = libdeinterlace_common.la
video_filter_LTLIBRARIES += libdeinterlace_plugin.la
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment