1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:37:34 +00:00

Clean up LDFLAGS a bit.

While working on the ELF loader I was trying to keep binaries as simple as
possible so I could understand them easily. Now that the ELF loader is mature
and working fine, we can move closer towards ld defaults.
This commit is contained in:
Andreas Kling 2019-02-06 14:48:09 +01:00
parent 353b191a49
commit 27263b6172
7 changed files with 8 additions and 8 deletions

View file

@ -36,7 +36,7 @@ CXXFLAGS = -MMD -MP $(WARNING_FLAGS) $(OPTIMIZATION_FLAGS) $(LIBC_FLAGS) $(FLAVO
CXX = clang
LD = ld
AR = ar
LDFLAGS = -T linker.ld --strip-debug -melf_i386 --gc-sections --build-id=none -z norelro -z now
LDFLAGS = -T linker.ld --strip-debug -melf_i386 --gc-sections
all: $(LIBRARY)