summaryrefslogtreecommitdiff
path: root/Applications/FileManager/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/FileManager/Makefile')
-rw-r--r--Applications/FileManager/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Applications/FileManager/Makefile b/Applications/FileManager/Makefile
index 981cfe430b..867cb0a8b2 100644
--- a/Applications/FileManager/Makefile
+++ b/Applications/FileManager/Makefile
@@ -4,8 +4,7 @@ OBJS = \
APP = FileManager
-ARCH_FLAGS =
-STANDARD_FLAGS = -std=c++17 -nostdinc++ -nostdlib -nostdinc
+STANDARD_FLAGS = -std=c++17
WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
FLAVOR_FLAGS = -fno-exceptions -fno-rtti
OPTIMIZATION_FLAGS = -Os
@@ -13,11 +12,10 @@ INCLUDE_FLAGS = -I../.. -I. -I../../LibC
DEFINES = -DSERENITY -DSANITIZE_PTRS -DUSERLAND
-CXXFLAGS = -MMD -MP $(WARNING_FLAGS) $(OPTIMIZATION_FLAGS) $(FLAVOR_FLAGS) $(ARCH_FLAGS) $(STANDARD_FLAGS) $(INCLUDE_FLAGS) $(DEFINES)
-CXX = i686-elf-g++
-LD = i686-elf-ld
-AR = ar
-LDFLAGS = -static
+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
all: $(APP)