Disable integrated-assembler for clang on ARM for two files that are

victims of the @ comment mess on that platform. Add a reference to the
upstream PR.
This commit is contained in:
joerg 2013-12-25 22:26:35 +00:00
parent 60419e04f2
commit 1fd04761e2
2 changed files with 13 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/06/25 05:45:13 nonaka Exp $
# $NetBSD: Makefile,v 1.2 2013/12/25 22:26:35 joerg Exp $
.include <bsd.own.mk>
@ -20,4 +20,10 @@ FILESDIR= ${TESTSBASE}/libexec/ld.elf_so/h_helper_symver_dso1
LDFLAGS.lib${LIB} += -Wl,--version-script=${.CURDIR}/h_helper_symver_dso1.map
.if !empty(MACHINE_ARCH:M*arm*)
# LLVM PR 18273
COPTS.h_helper_symver_dso1.c= ${${ACTIVE_CC} == "clang":?-no-integrated-as :}
.endif
.include <bsd.lib.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/06/25 05:45:13 nonaka Exp $
# $NetBSD: Makefile,v 1.2 2013/12/25 22:26:35 joerg Exp $
.include <bsd.own.mk>
@ -20,4 +20,9 @@ FILESDIR= ${TESTSBASE}/libexec/ld.elf_so/h_helper_symver_dso2
LDFLAGS.lib${LIB} += -Wl,--version-script=${.CURDIR}/h_helper_symver_dso2.map
.if !empty(MACHINE_ARCH:M*arm*)
# LLVM PR 18273
COPTS.h_helper_symver_dso2.c= ${${ACTIVE_CC} == "clang":?-no-integrated-as :}
.endif
.include <bsd.lib.mk>