mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
################################################################################
|
||||
|
||||
# When bumping this package, make sure to also verify if the
|
||||
# python-protobuf package still works, as they share the same
|
||||
# version/site variables.
|
||||
PROTOBUF_VERSION = 3.6.0
|
||||
# python-protobuf package still works and to update its hash,
|
||||
# as they share the same version/site variables.
|
||||
PROTOBUF_VERSION = 3.13.0
|
||||
PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz
|
||||
PROTOBUF_SITE = https://github.com/google/protobuf/releases/download/v$(PROTOBUF_VERSION)
|
||||
PROTOBUF_LICENSE = BSD-3-Clause
|
||||
@@ -17,6 +17,14 @@ PROTOBUF_LICENSE_FILES = LICENSE
|
||||
PROTOBUF_DEPENDENCIES = host-protobuf
|
||||
PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/bin/protoc
|
||||
|
||||
PROTOBUF_CXXFLAGS = $(TARGET_CXXFLAGS)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
||||
PROTOBUF_CXXFLAGS += -O0
|
||||
endif
|
||||
|
||||
PROTOBUF_CONF_ENV = CXXFLAGS="$(PROTOBUF_CXXFLAGS)"
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
PROTOBUF_CONF_ENV += LIBS=-latomic
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user