diff options
-rw-r--r-- | sys/arch/amd64/stand/efiboot/Makefile.common | 4 | ||||
-rw-r--r-- | sys/arch/amd64/stand/efiboot/bootia32/Makefile | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/amd64/stand/efiboot/Makefile.common b/sys/arch/amd64/stand/efiboot/Makefile.common index 25c7a8f1e65..e13d67ae98d 100644 --- a/sys/arch/amd64/stand/efiboot/Makefile.common +++ b/sys/arch/amd64/stand/efiboot/Makefile.common @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.common,v 1.12 2017/11/25 19:02:07 patrick Exp $ +# $OpenBSD: Makefile.common,v 1.13 2018/10/13 19:56:56 kettenis Exp $ S= ${.CURDIR}/../../../../.. SADIR= ${.CURDIR}/../.. @@ -62,7 +62,7 @@ CLEANFILES+= ${PROG.so} ${PROG.so}.tmp ${PROG}: ${PROG.so} ${OBJCOPY} -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \ - -j .rel.* -j .rela -j .rela.* -j .reloc \ + -j .rel.dyn -j .rela -j .rela.dyn -j .reloc \ --target=${OBJFMT} ${PROG.so} ${.TARGET} .include <bsd.prog.mk> diff --git a/sys/arch/amd64/stand/efiboot/bootia32/Makefile b/sys/arch/amd64/stand/efiboot/bootia32/Makefile index 7945650e9f6..a1a7b438f75 100644 --- a/sys/arch/amd64/stand/efiboot/bootia32/Makefile +++ b/sys/arch/amd64/stand/efiboot/bootia32/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2015/12/02 11:51:22 yasuoka Exp $ +# $OpenBSD: Makefile,v 1.3 2018/10/13 19:56:56 kettenis Exp $ .include <bsd.own.mk> @@ -15,3 +15,4 @@ COPTS= -I${EFIDIR}/include/i386 CFLAGS+= -m32 AFLAGS+= -m32 +LDFLAGS+= -N |