mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-06 18:09:44 +03:00
package/grpc: drop host gcc 4.8 workaround
Due to libabseil dependencies the host gcc is at least 4.9. So the fix for host gcc 4.8 is no longer needed. Signed-off-by: Michael Nosthoff <buildroot@heine.tech> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
44b490fc44
commit
32dc218c82
@@ -72,13 +72,5 @@ HOST_GRPC_CONF_OPTS = \
|
|||||||
-DgRPC_SSL_PROVIDER=package \
|
-DgRPC_SSL_PROVIDER=package \
|
||||||
-DgRPC_ZLIB_PROVIDER=package
|
-DgRPC_ZLIB_PROVIDER=package
|
||||||
|
|
||||||
# With gcc 4.8 (at least on ubuntu) there is a bug in LTO which breaks
|
|
||||||
# the linkage of the grpc_cpp_plugin with libprotobuf and pthread. This
|
|
||||||
# additional flag fixes this.
|
|
||||||
ifeq ($(BR2_HOST_GCC_AT_LEAST_4_9),)
|
|
||||||
HOST_GRPC_CONF_OPTS += \
|
|
||||||
-DCMAKE_EXE_LINKER_FLAGS="$(HOST_LDFLAGS) -Wl,--no-as-needed"
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
$(eval $(host-cmake-package))
|
$(eval $(host-cmake-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user