mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
make: Replace BUILD_XXX make flag variables by FINAL_XXX
The following BUILD_XXX variables are renamed to their respective FINAL_XXX counterparts, as that name is more expressive: BUILD_CFLAGS, BUILD_CPPFLAGS, BUILD_CXXFLAGS, BUILD_EXTRA_DEBUG_FLAGS, BUILD_INCLUDE, BUILD_LDFLAGS, BUILD_LIBFLAGS, BUILD_LPPFLAGS Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e0486a936e
commit
3365aa3db6
18 changed files with 249 additions and 249 deletions
|
|
@ -6,25 +6,25 @@ CALLGRIND_OUT ?= callgrind.out
|
|||
OPROF_OUT_DIR ?= oprofile-data
|
||||
|
||||
ifeq ($(USE_GPROF),true)
|
||||
BUILD_CXXFLAGS += -pg
|
||||
BUILD_CFLAGS += -pg
|
||||
BUILD_LDFLAGS += -pg
|
||||
FINAL_CXXFLAGS += -pg
|
||||
FINAL_CFLAGS += -pg
|
||||
FINAL_LDFLAGS += -pg
|
||||
clean: clean.gprof
|
||||
endif
|
||||
|
||||
ifeq ($(COMPILER_SUITE),gcc)
|
||||
ifeq ($(USE_GCOV),true)
|
||||
BUILD_CXXFLAGS += -fprofile-arcs -ftest-coverage
|
||||
BUILD_CFLAGS += -fprofile-arcs -ftest-coverage
|
||||
BUILD_LDFLAGS += -fprofile-arcs -ftest-coverage
|
||||
FINAL_CXXFLAGS += -fprofile-arcs -ftest-coverage
|
||||
FINAL_CFLAGS += -fprofile-arcs -ftest-coverage
|
||||
FINAL_LDFLAGS += -fprofile-arcs -ftest-coverage
|
||||
clean: clean.gcov
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(COMPILER_SUITE),clang)
|
||||
ifeq ($(USE_XRAY),true)
|
||||
BUILD_CXXFLAGS += -fxray-instrument -fxray-instruction-threshold=1
|
||||
BUILD_CFLAGS += -fxray-instrument -fxray-instruction-threshold=1
|
||||
#BUILD_LDFLAGS += -fxray-instrument
|
||||
FINAL_CXXFLAGS += -fxray-instrument -fxray-instruction-threshold=1
|
||||
FINAL_CFLAGS += -fxray-instrument -fxray-instruction-threshold=1
|
||||
#FINAL_LDFLAGS += -fxray-instrument
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue