From: Clifford Wolf Date: Fri, 22 Nov 2013 03:05:30 +0000 (+0100) Subject: Improved make rules for profiling and debugging X-Git-Tag: yosys-0.2.0~339 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b01ba384f1374d6a6fb3d40d7dc5fd03d50ac31;p=yosys.git Improved make rules for profiling and debugging --- diff --git a/Makefile b/Makefile index f4f467850..3551723fd 100644 --- a/Makefile +++ b/Makefile @@ -34,12 +34,12 @@ ABCPULL = 1 ifeq ($(CONFIG),clang-debug) CXX = clang -CXXFLAGS += -std=c++11 -O0 +CXXFLAGS += -std=c++11 -Os endif ifeq ($(CONFIG),gcc-debug) CXX = gcc -CXXFLAGS += -std=gnu++0x -O0 +CXXFLAGS += -std=gnu++0x -Os endif ifeq ($(CONFIG),release) @@ -53,7 +53,7 @@ LDLIBS += -ltcl8.5 endif ifeq ($(ENABLE_GPROF),1) -CXXFLAGS += -pg +CXXFLAGS += -pg -fno-inline LDFLAGS += -pg endif