diff options
Diffstat (limited to 'payloads/libpayload/arch')
-rw-r--r-- | payloads/libpayload/arch/arm/Makefile.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/payloads/libpayload/arch/arm/Makefile.mk b/payloads/libpayload/arch/arm/Makefile.mk index e6574e7782..47c271b993 100644 --- a/payloads/libpayload/arch/arm/Makefile.mk +++ b/payloads/libpayload/arch/arm/Makefile.mk @@ -27,7 +27,10 @@ ## CFLAGS += -mthumb -march=armv7-a -arm_asm_flags = -Wa,-mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated +arm_asm_flags = -Wa,-mthumb -Wa,-mimplicit-it=always +ifeq ($(CONFIG_COMPILER_GCC),y) +arm_asm_flags += -Wa,-mno-warn-deprecated +endif libc-y += head.S libc-y += eabi_compat.c |