From 7a4b8b5eda88d61fa4d2db5106db993f86ff546c Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Thu, 24 Sep 2015 19:56:48 +0200 Subject: [PATCH] Clean the CFLAGS --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6f0aea105..93e9cef2f 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ SFLAGS += -Wall # Flags - Optimizations ifeq ($(DEBUG),1) -SFLAGS += -g -DDEBUG=1 +SFLAGS += -ggdb3 -DDEBUG=1 -O0 else SFLAGS += -Os -fdata-sections -ffunction-sections #LDFLAGS += --gc-sections @@ -24,7 +24,7 @@ endif # Language-specific flags CFLAGS = -std=c99 -CXXFLAGS = -std=c++11 -fno-exceptions -fno-unwind-tables -fno-rtti +CXXFLAGS = -std=c++11 -fno-exceptions -fno-rtti #-fno-unwind-tables products := boot.elf boot.hex boot.bin test.elf test.hex test.bin