diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-27 12:48:21 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-27 12:48:21 +0100 |
commit | 23bb276fcdd6cc3b57e7fc0eae2a614a798cfddf (patch) | |
tree | 5dd690844111811857fa21a1511fde010358c9f3 /Applications/Terminal/Makefile | |
parent | f1a2cb0882bf192ecffa1b12e997648cdd367a07 (diff) | |
download | serenity-23bb276fcdd6cc3b57e7fc0eae2a614a798cfddf.zip |
LibC: Run constructors on process startup.
Cooperate with the compiler to generate and execute the _init_array list
of constructor functions on userspace program statup. This took two days
to get working, my goodness. :^)
Diffstat (limited to 'Applications/Terminal/Makefile')
-rw-r--r-- | Applications/Terminal/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Applications/Terminal/Makefile b/Applications/Terminal/Makefile index d1c10de1e1..28d161d099 100644 --- a/Applications/Terminal/Makefile +++ b/Applications/Terminal/Makefile @@ -14,8 +14,7 @@ DEFINES = -DSERENITY -DSANITIZE_PTRS -DUSERLAND CXXFLAGS = -MMD -MP $(WARNING_FLAGS) $(OPTIMIZATION_FLAGS) $(FLAVOR_FLAGS) $(STANDARD_FLAGS) $(INCLUDE_FLAGS) $(DEFINES) CXX = i686-pc-serenity-g++ -LD = i686-pc-serenity-ld -AR = i686-pc-serenity-ar +LD = i686-pc-serenity-g++ LDFLAGS = -L../../LibC -L../../LibGUI all: $(APP) |