If not earmv7, use -marm on all assembly files

This commit is contained in:
matt 2013-08-21 03:09:08 +00:00
parent 8538835a75
commit 67f92d5a99

View File

@ -1,9 +1,13 @@
# $NetBSD: Makefile.inc,v 1.23 2013/08/18 16:55:47 skrll Exp $
# $NetBSD: Makefile.inc,v 1.24 2013/08/21 03:09:08 matt Exp $
.include <bsd.own.mk>
SRCS+= __aeabi_read_tp.S __sigaction14_sigtramp.c __sigtramp2.S
.if empty(LIBC_MACHINE_ARCH:Mearmv7*)
AFLAGS+= -marm
.endif
CPPFLAGS += -I.
.if !empty(LIBC_MACHINE_ARCH:Mearm*)