diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2017-05-30 22:32:11 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2017-05-30 22:32:11 +0000 |
commit | aa822d7934e27dc377d908bad2a9a5c3833c3aaf (patch) | |
tree | 647f7edd368483f514d8d73140d9481092cd2b5a /sys/arch/amd64/stand/biosboot | |
parent | 4832851cc7e277217e11cb1c9462a7b926c9b812 (diff) |
Allow building the bootstrap with clang:
* skip the integrated assembler for assym.h
* use as(1) to build biosboot.S and the various versions of srt0.S
ok deraadt@
Diffstat (limited to 'sys/arch/amd64/stand/biosboot')
-rw-r--r-- | sys/arch/amd64/stand/biosboot/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/biosboot/Makefile b/sys/arch/amd64/stand/biosboot/Makefile index 70beaa86877..0d3464635f9 100644 --- a/sys/arch/amd64/stand/biosboot/Makefile +++ b/sys/arch/amd64/stand/biosboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2016/07/30 03:25:48 guenther Exp $ +# $OpenBSD: Makefile,v 1.12 2017/05/30 22:32:10 naddy Exp $ MAN= biosboot.8 @@ -23,6 +23,7 @@ ${PROG}: $(OBJS) CPPFLAGS+=-DLOADADDR=$(LOADADDR) -DLINKADDR=$(LINKADDR) -DBOOTMAGIC=$(BOOTMAGIC) CPPFLAGS+=${DEBUGFLAGS} CFLAGS+=-fno-pie +AFLAGS+=${NO_INTEGR_AS} AFLAGS+=-m32 # -Wa,-a AFLAGS+=-fno-pie .else |