diff --git a/cores/libretro-ffmpeg/Makefile b/cores/libretro-ffmpeg/Makefile index bba468a2e1..83a20ca352 100644 --- a/cores/libretro-ffmpeg/Makefile +++ b/cores/libretro-ffmpeg/Makefile @@ -187,12 +187,6 @@ else CFLAGS += -O3 endif -ifeq ($(HAVE_NEON),1) - CFLAGS += -DHAVE_INTRINSICS_NEON=1 -else - CFLAGS += -DHAVE_INTRINSICS_NEON=0 -endif - OBJECTS := $(SOURCES_C:.c=.o) $(SOURCES_CXX:.cpp=.o) all: $(TARGET) diff --git a/cores/libretro-ffmpeg/Makefile.ffmpeg b/cores/libretro-ffmpeg/Makefile.ffmpeg index 7417dc0ec2..2ed09c31dd 100644 --- a/cores/libretro-ffmpeg/Makefile.ffmpeg +++ b/cores/libretro-ffmpeg/Makefile.ffmpeg @@ -72,6 +72,12 @@ else DEPS_SOURCE += $(wildcard $(DEPS_DIR)/libmp3lame/*.c) endif +ifeq ($(HAVE_NEON),1) + DEFINES += -DHAVE_INTRINSICS_NEON=1 +else + DEFINES += -DHAVE_INTRINSICS_NEON=0 +endif + ifeq ($(INTERNAL_LIBSPEEX),0) #LIBS += -lspeex #HAVE_LIBSPEEX = 1