OSDN Git Service

ffmpeg: Don't use Clang's integrated assembler
authorSteve Kondik <steve@cyngn.com>
Wed, 4 Nov 2015 12:37:47 +0000 (04:37 -0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 7 Jun 2017 15:42:29 +0000 (23:42 +0800)
 * It barfs on some of the GAS-specific directives in ASM.
 * ..and enable building with Clang.

Change-Id: Ib3bfeefd40666e616ce4738a63bc780d51b7567b

android/build.mk

index 3a5ff96..20439bf 100644 (file)
@@ -104,5 +104,7 @@ LOCAL_CFLAGS += \
        -Werror=return-type -Werror=vla -Wformat -Wno-maybe-uninitialized -fPIC
 
 LOCAL_LDFLAGS := -Wl,--no-fatal-warnings -Wl,-Bsymbolic
-LOCAL_CLANG := false
+
+LOCAL_CLANG_ASFLAGS += -no-integrated-as
+
 LOCAL_SHARED_LIBRARIES := $(sort $(FFLIBS-yes:%=lib%) $(FFLIBS:%=lib%))