summaryrefslogtreecommitdiff
path: root/LibC
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-17 15:17:21 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-17 15:17:21 +0100
commit8eedbbc9ca9ba0c031b1330058088a7e19ab076b (patch)
treeea6c20d3adeb45b497c447f115417148efb1592a /LibC
parente952a3599495b2e99c4c3a9f0c1c1bd16e21d095 (diff)
downloadserenity-8eedbbc9ca9ba0c031b1330058088a7e19ab076b.zip
Prune compiler flags a bit. Let's go with -march=i686 for now.
Diffstat (limited to 'LibC')
-rw-r--r--LibC/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/LibC/Makefile b/LibC/Makefile
index dc69f3ce10..801437e4b5 100644
--- a/LibC/Makefile
+++ b/LibC/Makefile
@@ -54,10 +54,10 @@ CPP_OBJS = $(AK_OBJS) $(WIDGETS_OBJS) $(LIBC_OBJS) $(SHAREDGRAPHICS_OBJS)
LIBRARY = LibC.a
ARCH_FLAGS =
STANDARD_FLAGS = -std=c++17 -nostdinc++ -nostdlib -nostdinc
-LIBC_FLAGS = -ffreestanding -fno-stack-protector -fno-ident
+LIBC_FLAGS = -ffreestanding -fno-stack-protector -fno-builtin
WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
-FLAVOR_FLAGS = -fomit-frame-pointer -march=i386 -m32 -fno-exceptions -fno-rtti -ffunction-sections -fdata-sections -fmerge-all-constants -fno-unroll-loops -fno-pie -fno-pic
-OPTIMIZATION_FLAGS = -Os -fno-asynchronous-unwind-tables
+FLAVOR_FLAGS = -march=i686 -m32 -fno-exceptions -fno-rtti
+OPTIMIZATION_FLAGS = -Os
INCLUDE_FLAGS = -I.. -I.
DEFINES = -DSERENITY -DUSERLAND -DSANITIZE_PTRS