Set CCFLAGS not CPPFLAGS
This commit is contained in:
@@ -15,7 +15,6 @@ $(package)_config_opts_darwin=--disable-atomicsupport
|
|||||||
endif
|
endif
|
||||||
$(package)_config_opts_aarch64=--disable-atomicsupport
|
$(package)_config_opts_aarch64=--disable-atomicsupport
|
||||||
$(package)_cxxflags+=-std=c++11
|
$(package)_cxxflags+=-std=c++11
|
||||||
$(package)_cppflags+=-std=gnu17
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_preprocess_cmds
|
define $(package)_preprocess_cmds
|
||||||
@@ -40,7 +39,7 @@ endef
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define $(package)_build_cmds
|
define $(package)_build_cmds
|
||||||
$(MAKE) libdb_cxx-6.2.a libdb-6.2.a
|
CCFLAGS=-std=gnu17 $(MAKE) libdb_cxx-6.2.a libdb-6.2.a
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
define $(package)_stage_cmds
|
||||||
|
|||||||
Reference in New Issue
Block a user