mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-22 22:20:39 +01:00
defs.mk: Use -std=c++11 for compilation of all projects
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f3732300f2
commit
aee9c4ef46
1 changed files with 2 additions and 1 deletions
|
|
@ -123,6 +123,7 @@ ifeq ($(DEVELOPMENT),true)
|
||||||
endif
|
endif
|
||||||
export G_SLICE=always-malloc
|
export G_SLICE=always-malloc
|
||||||
export G_DEBUG=gc-friendly,resident-modules
|
export G_DEBUG=gc-friendly,resident-modules
|
||||||
|
export MALLOC_CHECK_=2
|
||||||
else
|
else
|
||||||
-include $(MODDIR)/make/defs-dist.mk
|
-include $(MODDIR)/make/defs-dist.mk
|
||||||
ifneq ($(wildcard $(TOPDIR)/make/cfg_dist.mk),)
|
ifneq ($(wildcard $(TOPDIR)/make/cfg_dist.mk),)
|
||||||
|
|
@ -136,7 +137,7 @@ BUILD_CPPFLAGS += $(CPPFLAGS)
|
||||||
BUILD_LDFLAGS += $(LDFLAGS)
|
BUILD_LDFLAGS += $(LDFLAGS)
|
||||||
|
|
||||||
BUILD_CFLAGS += -D_FILE_OFFSET_BITS=64 -Wall -Wno-unused-value -fexceptions -DPROJECT_STR=\"$(PROJECT)\"
|
BUILD_CFLAGS += -D_FILE_OFFSET_BITS=64 -Wall -Wno-unused-value -fexceptions -DPROJECT_STR=\"$(PROJECT)\"
|
||||||
BUILD_CPPFLAGS += -D_FILE_OFFSET_BITS=64 -Wall -Wno-unused-value -Wno-deprecated -DPROJECT_STR=\"$(PROJECT)\"
|
BUILD_CPPFLAGS += -std=c++11 -D_FILE_OFFSET_BITS=64 -Wall -Wno-unused-value -Wno-deprecated -DPROJECT_STR=\"$(PROJECT)\"
|
||||||
BUILD_LDFLAGS += -Wall
|
BUILD_LDFLAGS += -Wall
|
||||||
|
|
||||||
ifneq ($(LOG_QUAL_PREFIX),)
|
ifneq ($(LOG_QUAL_PREFIX),)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue