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

Okay, with some mucking around, there is now a /bin/id and it runs!

It statically links against everything in LibC that it needs.
This will work just fine for a long time to come!
This commit is contained in:
Andreas Kling 2018-10-22 14:41:54 +02:00
parent 38a621c721
commit befeabd8fe
4 changed files with 11 additions and 12 deletions

View file

@ -18,7 +18,7 @@ CXXFLAGS = $(WARNING_FLAGS) $(OPTIMIZATION_FLAGS) $(USERLAND_FLAGS) $(FLAVOR_FLA
CXX = g++
LD = ld
AR = ar
LDFLAGS = --strip-debug -melf_i386 --gc-sections --build-id=none -z norelro -z now
LDFLAGS = -r -static --strip-debug -melf_i386 --build-id=none -z norelro -z now -e _start
all: $(OBJS) $(APPS)