From d5a55981986ac5d1a31aef3a8d16eaff8534a412 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Fri, 30 May 2014 09:58:43 +0200 Subject: [PATCH] build: check if AS supports the '.func' directive Not supported by Clang's integrated assembler. Since it just adds debug information it can safely omitted. --- configure | 6 ++++++ libavutil/aarch64/asm.S | 12 +++++++++--- libavutil/arm/asm.S | 12 +++++++++--- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 13bcdfe..59f7273 100755 --- a/configure +++ b/configure @@ -1468,6 +1468,7 @@ SYSTEM_FUNCS=" TOOLCHAIN_FEATURES=" as_dn_directive + as_func asm_mod_q attribute_may_alias attribute_packed @@ -3734,6 +3735,11 @@ if enabled asm; then .endm m x EOF + + check_as <