mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
gperf: build as C++11
Newer compilers default to building with C++17 as default, which has the register keyword removed and thus errors. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
803c00e9b8
commit
39f595d1d8
@ -17,6 +17,8 @@ include $(INCLUDE_DIR)/package.mk
|
||||
HOST_CPPFLAGS:=-I$(HOST_BUILD_DIR)/lib -I$(HOST_BUILD_DIR)/src $(HOST_CPPFLAGS)
|
||||
TARGET_CPPFLAGS:=-I$(PKG_BUILD_DIR)/lib -I$(PKG_BUILD_DIR)/src $(TARGET_CPPFLAGS)
|
||||
|
||||
HOST_CXXFLAGS += -std=c++11
|
||||
|
||||
define Package/gperf
|
||||
SECTION:=devel
|
||||
CATEGORY:=Development
|
||||
|
Loading…
Reference in New Issue
Block a user