summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-03-08 17:45:56 +0000
committeremaste <emaste@FreeBSD.org>2016-03-08 17:45:56 +0000
commit57e094b7d5d447ddc3eb9a860063ffbe8f473016 (patch)
tree91fa22b1a95d1bc87e850daeb66f8e27d831c290
parentd29ea6698cc7869406874fd2bafa12b223243fa1 (diff)
downloadFreeBSD-src-57e094b7d5d447ddc3eb9a860063ffbe8f473016.zip
FreeBSD-src-57e094b7d5d447ddc3eb9a860063ffbe8f473016.tar.gz
boot1.efi: use += to append to LDFLAGS
This is for consistency with loader.efi's Makefile and simplifies some out-of-tree experimentation.
-rw-r--r--sys/boot/efi/boot1/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/efi/boot1/Makefile b/sys/boot/efi/boot1/Makefile
index 5455e1a..c4c92cb 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
OpenPOWER on IntegriCloud