From 91ca23befa4bada177c617d8723b1c4e8ed77d7f Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 8 Mar 2016 17:45:56 +0000 Subject: [PATCH] boot1.efi: use += to append to LDFLAGS This is for consistency with loader.efi's Makefile and simplifies some out-of-tree experimentation. --- sys/boot/efi/boot1/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/efi/boot1/Makefile b/sys/boot/efi/boot1/Makefile index 5455e1a369e..c4c92cba893 100644 --- a/sys/boot/efi/boot1/Makefile +++ b/sys/boot/efi/boot1/Makefile @@ -53,7 +53,7 @@ FILES= boot1.efi boot1.efifat FILESMODE_boot1.efi= ${BINMODE} LDSCRIPT= ${.CURDIR}/../loader/arch/${MACHINE}/ldscript.${MACHINE} -LDFLAGS= -Wl,-T${LDSCRIPT} -Wl,-Bsymbolic -shared +LDFLAGS+= -Wl,-T${LDSCRIPT} -Wl,-Bsymbolic -shared .if ${MACHINE_CPUARCH} == "aarch64" CFLAGS+= -msoft-float -mgeneral-regs-only