mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:17:36 +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:
parent
353b191a49
commit
27263b6172
7 changed files with 8 additions and 8 deletions
|
@ -91,7 +91,7 @@ DEFINES = -DSERENITY -DKERNEL -DSANITIZE_PTRS
|
|||
CXXFLAGS = -MMD -MP $(WARNING_FLAGS) $(OPTIMIZATION_FLAGS) $(KERNEL_FLAGS) $(FLAVOR_FLAGS) $(ARCH_FLAGS) $(STANDARD_FLAGS) $(SUGGEST_FLAGS) $(INCLUDE_FLAGS) $(DEFINES)
|
||||
CXX = clang
|
||||
LD = ld
|
||||
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: $(KERNEL) $(IMAGE) kernel.map
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue