Force armv7/neon within the arm assembly header file
This avoids having to add extra compiler flags to be able to build them.
This commit is contained in:
parent
9b442b3d44
commit
5a78735802
@ -12,9 +12,6 @@ ifeq ($(ARCH), arm)
|
|||||||
LDFLAGS += -march=armv7-a -Wl,--fix-cortex-a8
|
LDFLAGS += -march=armv7-a -Wl,--fix-cortex-a8
|
||||||
APP_ABI = armeabi-v7a
|
APP_ABI = armeabi-v7a
|
||||||
endif
|
endif
|
||||||
ifeq (Yes, $(USE_ASM))
|
|
||||||
ASMFLAGS += -march=armv7-a -mfpu=neon
|
|
||||||
endif
|
|
||||||
else ifeq ($(ARCH), arm64)
|
else ifeq ($(ARCH), arm64)
|
||||||
APP_ABI = arm64-v8a
|
APP_ABI = arm64-v8a
|
||||||
else ifeq ($(ARCH), x86)
|
else ifeq ($(ARCH), x86)
|
||||||
|
@ -50,6 +50,8 @@ mov pc, lr
|
|||||||
|
|
||||||
.section .note.GNU-stack,"",%progbits // Mark stack as non-executable
|
.section .note.GNU-stack,"",%progbits // Mark stack as non-executable
|
||||||
.text
|
.text
|
||||||
|
.arch armv7-a
|
||||||
|
.fpu neon
|
||||||
|
|
||||||
.macro WELS_ASM_FUNC_BEGIN funcName
|
.macro WELS_ASM_FUNC_BEGIN funcName
|
||||||
.align 2
|
.align 2
|
||||||
|
Loading…
Reference in New Issue
Block a user