mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 03:42:04 +01:00
d5b537d01a
the Makefile, and move it down into the architecture-specific subdirectories. Eliminate an asm() statement for the i386. Make the dynamic linker work if it is built as an executable instead of as a shared library. See i386/Makefile.inc to find out how to do it. Note, this change is not enabled and it might never be enabled. But it might be useful in the future. Building the dynamic linker as an executable should make it start up faster, because it won't have any relocations. But in practice I suspect the difference is negligible.
6 lines
171 B
Makefile
6 lines
171 B
Makefile
CFLAGS+= -elf
|
|
LDFLAGS+= -elf
|
|
# Uncomment this to build the dynamic linker as an executable instead
|
|
# of a shared library:
|
|
#LDSCRIPT= ${.CURDIR}/${MACHINE_ARCH}/elf_rtld.x
|