Revert "ffmpeg: fix build for xtensa"
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 30 Mar 2014 17:57:48 +0000 (21:57 +0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 3 Apr 2014 19:35:55 +0000 (21:35 +0200)
This reverts commit 4ec35e76b8a31810a0b8955a6dee787cefa013bc.
Now that -mtext-section-literals is specified in the xtensa ABI this fix
is no longer needed.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ffmpeg/ffmpeg.mk

index a067fe6ac1fa5ab2eb85d8e9a9097703e2ee2a3d..fae558abf24b70e7f468a420fa619ccdb99f6cdd 100644 (file)
@@ -73,14 +73,6 @@ FFMPEG_CONF_OPT = \
 
 FFMPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
 
-FFMPEG_CFLAGS = $(TARGET_CFLAGS)
-
-ifeq ($(BR2_xtensa),y)
-FFMPEG_CFLAGS += -mtext-section-literals
-endif
-
-FFMPEG_CONF_ENV = CFLAGS="$(FFMPEG_CFLAGS)"
-
 ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y)
 FFMPEG_CONF_OPT += --enable-gpl
 else