make: Clean up profiling options

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-12-17 14:48:21 +00:00
commit 5882227628
4 changed files with 8 additions and 20 deletions

View file

@ -816,18 +816,6 @@ ifeq ($(USE_FAST_LOG),false)
BUILD_CPPFLAGS +=-D_USE_FAST_LOG_=0
endif
ifeq ($(USE_GCOV),true)
BUILD_CFLAGS += --coverage
BUILD_CPPFLAGS += --coverage
BUILD_LDFLAGS += --coverage
endif
ifeq ($(USE_PROFILER),true)
BUILD_CFLAGS += -pg
BUILD_CPPFLAGS += -pg
BUILD_LDFLAGS += -pg
endif
ifeq ($(USE_YAMD),true)
CC = yamd-gcc
endif
@ -935,7 +923,7 @@ ifeq ($(CC),$(GCC))
-fno-inline-functions-called-once \
-fno-tree-loop-optimize \
-fno-early-inlining \
-no-default-inline
-fno-default-inline
else
ifeq ($(CC),$(CLANG))
BUILD_CFLAGS += -Werror