summaryrefslogtreecommitdiff
path: root/Applications/ProcessManager
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-27 12:48:21 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-27 12:48:21 +0100
commit23bb276fcdd6cc3b57e7fc0eae2a614a798cfddf (patch)
tree5dd690844111811857fa21a1511fde010358c9f3 /Applications/ProcessManager
parentf1a2cb0882bf192ecffa1b12e997648cdd367a07 (diff)
downloadserenity-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/ProcessManager')
-rw-r--r--Applications/ProcessManager/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Applications/ProcessManager/Makefile b/Applications/ProcessManager/Makefile
index b594f90ff4..66137bc38e 100644
--- a/Applications/ProcessManager/Makefile
+++ b/Applications/ProcessManager/Makefile
@@ -16,8 +16,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)