summaryrefslogtreecommitdiff
path: root/Applications/About
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/About
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/About')
-rw-r--r--Applications/About/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Applications/About/Makefile b/Applications/About/Makefile
index a5aebd48a1..b656c4bc66 100644
--- a/Applications/About/Makefile
+++ b/Applications/About/Makefile
@@ -13,8 +13,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)