Force use of GNU as for acorn32 boot code (pre-unified assembly)

This commit is contained in:
joerg 2019-08-02 12:06:20 +00:00
parent c51cec6ce0
commit 015826c2f0
3 changed files with 10 additions and 3 deletions

View File

@ -1,8 +1,11 @@
$NetBSD: TODO.clang,v 1.22 2019/05/14 19:24:09 christos Exp $
$NetBSD: TODO.clang,v 1.23 2019/08/02 12:06:20 joerg Exp $
Hacks for the clang integration
-------------------------------
src/sys/arch/acorn32/stand
"-fno-integrated-as" is used for pre-unified ARM assembler.
src/sys/arch/i386/stand
"-no-integrated-as" is used to compensate
for the incomplete explicit positioning support in LLVM MC.

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2006/04/01 19:08:08 bjh21 Exp $
# $NetBSD: Makefile,v 1.6 2019/08/02 12:06:20 joerg Exp $
PROG= boot32
PROGSOURCE= rmheader.S rmvers.c srt0.S boot32.c start.S
@ -17,4 +17,6 @@ rmvers.c: ${.CURDIR}/version
CLEANFILES+= rmvers.c
AFLAGS.start.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
.include "../Makefile.buildboot"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2006/07/04 23:08:10 bjh21 Exp $
# $NetBSD: Makefile,v 1.4 2019/08/02 12:06:20 joerg Exp $
PROG= nbfs
PROGSOURCE= rmheader.S rmvers.c nbfs.c rmalloc.c
@ -13,4 +13,6 @@ rmvers.c: ${.CURDIR}/version
CLEANFILES+= rmvers.c
AFLAGS.rmheader.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
.include "../Makefile.buildboot"