Index: gnu/usr.bin/binutils/libbfd/Makefile =================================================================== --- gnu/usr.bin/binutils/libbfd/Makefile +++ gnu/usr.bin/binutils/libbfd/Makefile @@ -4,6 +4,10 @@ .PATH: ${SRCDIR}/bfd ${SRCDIR}/opcodes +.include + +MK_FORTIFY.gcc= no + LIB= bfd SRCS+= archive.c \ archive64.c \ Index: gnu/usr.bin/binutils/objdump/Makefile =================================================================== --- gnu/usr.bin/binutils/objdump/Makefile +++ gnu/usr.bin/binutils/objdump/Makefile @@ -2,6 +2,10 @@ .include "../Makefile.inc0" +.include + +MK_FORTIFY.gcc= no + .PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc PROG= objdump Index: lib/libsqlite3/Makefile =================================================================== --- lib/libsqlite3/Makefile +++ lib/libsqlite3/Makefile @@ -1,5 +1,9 @@ # $FreeBSD$ +.include + +MK_FORTIFY.gcc= no + PRIVATELIB= yes LIB= sqlite3 SHLIB_MAJOR?= 0 Index: lib/libstand/Makefile =================================================================== --- lib/libstand/Makefile +++ lib/libstand/Makefile @@ -8,6 +8,7 @@ MK_PROFILE= no MK_SSP= no +MK_FORTIFY= no .include Index: lib/libthr/Makefile =================================================================== --- lib/libthr/Makefile +++ lib/libthr/Makefile @@ -12,6 +12,7 @@ .include MK_SSP= no +MK_FORTIFY= no LIB=thr SHLIB_MAJOR= 3 Index: libexec/rtld-elf/Makefile =================================================================== --- libexec/rtld-elf/Makefile +++ libexec/rtld-elf/Makefile @@ -6,6 +6,7 @@ .include MK_SSP= no +MK_FORTIFY= no PROG?= ld-elf.so.1 SRCS= rtld_start.S \ Index: rescue/librescue/Makefile =================================================================== --- rescue/librescue/Makefile +++ rescue/librescue/Makefile @@ -4,6 +4,7 @@ .include MK_SSP= no +MK_FORTIFY= no # Certain library entries have hard-coded references to # /bin, /sbin, etc, that require those entries to be Index: rescue/rescue/Makefile =================================================================== --- rescue/rescue/Makefile +++ rescue/rescue/Makefile @@ -5,6 +5,7 @@ MAN= MK_SSP= no +MK_FORTIFY= no PROG= rescue BINDIR?=/rescue Index: sys/boot/arm/uboot/Makefile =================================================================== --- sys/boot/arm/uboot/Makefile +++ sys/boot/arm/uboot/Makefile @@ -2,6 +2,8 @@ .include +MK_FORTIFY= no + FILES= ubldr ubldr.bin NEWVERSWHAT= "U-Boot loader" ${MACHINE_ARCH} Index: sys/boot/arm64/Makefile =================================================================== --- sys/boot/arm64/Makefile +++ sys/boot/arm64/Makefile @@ -1,3 +1,7 @@ # $FreeBSD$ +.include + +MK_FORTIFY= no + .include Index: sys/boot/common/Makefile =================================================================== --- sys/boot/common/Makefile +++ sys/boot/common/Makefile @@ -2,6 +2,8 @@ .include +MK_FORTIFY= no + MAN+= loader.8 .if ${MK_ZFS} != "no" MAN+= zfsloader.8 Index: sys/boot/efi/boot1/Makefile =================================================================== --- sys/boot/efi/boot1/Makefile +++ sys/boot/efi/boot1/Makefile @@ -8,6 +8,7 @@ .if ${COMPILER_TYPE} != "gcc" MK_SSP= no +MK_FORTIFY= no PROG= loader.sym INTERNALPROG= Index: sys/boot/efi/fdt/Makefile =================================================================== --- sys/boot/efi/fdt/Makefile +++ sys/boot/efi/fdt/Makefile @@ -2,6 +2,8 @@ .include +MK_FORTIFY= no + .PATH: ${.CURDIR}/../../common LIB= efi_fdt Index: sys/boot/efi/libefi/Makefile =================================================================== --- sys/boot/efi/libefi/Makefile +++ sys/boot/efi/libefi/Makefile @@ -1,5 +1,9 @@ # $FreeBSD$ +.include + +MK_FORTIFY= no + LIB= efi INTERNALLIB= Index: sys/boot/efi/loader/Makefile =================================================================== --- sys/boot/efi/loader/Makefile +++ sys/boot/efi/loader/Makefile @@ -8,6 +8,7 @@ .if ${COMPILER_TYPE} != "gcc" MK_SSP= no +MK_FORTIFY= no PROG= loader.sym INTERNALPROG= Index: sys/boot/fdt/Makefile =================================================================== --- sys/boot/fdt/Makefile +++ sys/boot/fdt/Makefile @@ -1,5 +1,9 @@ # $FreeBSD$ +.include + +MK_FORTIFY= no + .PATH: ${.CURDIR}/../../contrib/libfdt/ LIB= fdt Index: sys/boot/ficl/Makefile =================================================================== --- sys/boot/ficl/Makefile +++ sys/boot/ficl/Makefile @@ -1,6 +1,10 @@ # $FreeBSD$ # +.include + +MK_FORTIFY= no + FICLDIR?= ${.CURDIR} .if defined(FICL32) Index: sys/boot/i386/libi386/Makefile =================================================================== --- sys/boot/i386/libi386/Makefile +++ sys/boot/i386/libi386/Makefile @@ -1,5 +1,10 @@ # $FreeBSD$ # + +.include + +MK_FORTIFY= no + LIB= i386 INTERNALLIB= Index: sys/boot/i386/loader/Makefile =================================================================== --- sys/boot/i386/loader/Makefile +++ sys/boot/i386/loader/Makefile @@ -2,6 +2,7 @@ .include MK_SSP= no +MK_FORTIFY= no LOADER?= loader PROG= ${LOADER}.sym Index: sys/boot/libstand32/Makefile =================================================================== --- sys/boot/libstand32/Makefile +++ sys/boot/libstand32/Makefile @@ -10,6 +10,7 @@ .include MK_SSP= no +MK_FORTIFY= no LIBSTAND_SRC= ${.CURDIR}/../../../lib/libstand LIBC_SRC= ${LIBSTAND_SRC}/../libc Index: sys/boot/mips/beri/loader/Makefile =================================================================== --- sys/boot/mips/beri/loader/Makefile +++ sys/boot/mips/beri/loader/Makefile @@ -31,6 +31,7 @@ .include MK_SSP= no +MK_FORTIFY= no MAN= PROG?= loader Index: sys/boot/pc98/loader/Makefile =================================================================== --- sys/boot/pc98/loader/Makefile +++ sys/boot/pc98/loader/Makefile @@ -2,6 +2,7 @@ .include MK_SSP= no +MK_FORTIFY= no MAN= LOADER?= loader Index: sys/boot/powerpc/kboot/Makefile =================================================================== --- sys/boot/powerpc/kboot/Makefile +++ sys/boot/powerpc/kboot/Makefile @@ -2,6 +2,7 @@ .include MK_SSP= no +MK_FORTIFY= no MAN= PROG= loader.kboot Index: sys/boot/powerpc/ofw/Makefile =================================================================== --- sys/boot/powerpc/ofw/Makefile +++ sys/boot/powerpc/ofw/Makefile @@ -2,6 +2,7 @@ .include MK_SSP= no +MK_FORTIFY= no MAN= PROG= loader Index: sys/boot/powerpc/ps3/Makefile =================================================================== --- sys/boot/powerpc/ps3/Makefile +++ sys/boot/powerpc/ps3/Makefile @@ -2,6 +2,7 @@ .include MK_SSP= no +MK_FORTIFY= no MAN= PROG= loader.ps3 Index: sys/boot/powerpc/uboot/Makefile =================================================================== --- sys/boot/powerpc/uboot/Makefile +++ sys/boot/powerpc/uboot/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ .include +MK_FORTIFY= no PROG= ubldr NEWVERSWHAT= "U-Boot loader" ${MACHINE_ARCH} Index: sys/boot/sparc64/loader/Makefile =================================================================== --- sys/boot/sparc64/loader/Makefile +++ sys/boot/sparc64/loader/Makefile @@ -2,6 +2,7 @@ .include MK_SSP= no +MK_FORTIFY= no MAN= PROG?= loader Index: sys/boot/zfs/Makefile =================================================================== --- sys/boot/zfs/Makefile +++ sys/boot/zfs/Makefile @@ -1,5 +1,9 @@ # $FreeBSD$ +.include + +MK_FORTIFY= no + LIB= zfsboot INTERNALLIB=