Makefile ignores env CXXFLAGS
Former-commit-id: 0ab29f7394be270f958c01cc66d26da14eb32f2c
This commit is contained in:
parent
c26ba66b0e
commit
3fa5c94210
@ -56,6 +56,10 @@ endif
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(COMPILER_NAME),clang)
|
||||||
|
CXXFLAGS+= -stdlib=libc++
|
||||||
|
endif
|
||||||
|
|
||||||
# To get ARM stack traces if Redis crashes we need a special C flag.
|
# To get ARM stack traces if Redis crashes we need a special C flag.
|
||||||
ifneq (,$(filter aarch64 armv,$(uname_M)))
|
ifneq (,$(filter aarch64 armv,$(uname_M)))
|
||||||
CFLAGS+=-funwind-tables
|
CFLAGS+=-funwind-tables
|
||||||
@ -86,7 +90,7 @@ endif
|
|||||||
-include .make-settings
|
-include .make-settings
|
||||||
|
|
||||||
FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
|
FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
|
||||||
FINAL_CXXFLAGS=$(CXX_STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
|
FINAL_CXXFLAGS=$(CXX_STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(CXXFLAGS) $(REDIS_CFLAGS)
|
||||||
FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
|
FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
|
||||||
FINAL_LIBS=-lm
|
FINAL_LIBS=-lm
|
||||||
DEBUG=-g -ggdb
|
DEBUG=-g -ggdb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user