aboutsummaryrefslogtreecommitdiffstats
path: root/src/Make.config
diff options
context:
space:
mode:
authorklaar36 <klas.arvidsson@liu.se>2016-05-04 02:54:56 +0200
committerklaar36 <klas.arvidsson@liu.se>2016-05-04 02:54:56 +0200
commit9336320b82d48403d982502e358242072d2a9a1a (patch)
treed6388542d9f0ca86ca8d62154093dc8bc1209a42 /src/Make.config
parente6d0a1eb493f3017ececfda888fd73948aab5bc5 (diff)
downloadpintos-rs-9336320b82d48403d982502e358242072d2a9a1a.tar.gz
more compile options
Diffstat (limited to 'src/Make.config')
-rw-r--r--src/Make.config4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Make.config b/src/Make.config
index b73cb46..aa7d572 100644
--- a/src/Make.config
+++ b/src/Make.config
@@ -46,7 +46,9 @@ endif
DEFINES =
WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers
# klaar36@ida 2015-03: -fno-omit-frame-pointer to get working backtrace
-CFLAGS = -std=gnu99 -g -msoft-float -fno-omit-frame-pointer -O $(CFLAG_STACK_PROTECTOR)
+# klaar36@ida 2016-05: -ffreestanding to assert freestanding environment
+# klaar36@ida 2016-05: -fno-inline to ease debugging
+CFLAGS = -std=gnu99 -ggdb -msoft-float -fno-omit-frame-pointer -ffreestanding -fno-inline -O $(CFLAG_STACK_PROTECTOR)
CPPFLAGS = -nostdinc -I$(SRCDIR) -I$(SRCDIR)/lib
ASFLAGS = -Wa,--gstabs
LDFLAGS =