From c7cd5db6d9f19fc872dfd46903cf277177ee14fd Mon Sep 17 00:00:00 2001 From: Vincent Fortier Date: Mon, 29 Jun 2020 18:06:22 -0400 Subject: [PATCH] libzmq: Fix build of 88f6281 and ppc853x arches --- cross/libzmq/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cross/libzmq/Makefile b/cross/libzmq/Makefile index a9dee7b2cc69..30c96eb33580 100644 --- a/cross/libzmq/Makefile +++ b/cross/libzmq/Makefile @@ -14,3 +14,8 @@ COMMENT = ZeroMQ (also known as ØMQ, 0MQ, or zmq) looks like an embeddable net LICENSE = GPLv3 include ../../mk/spksrc.cross-cmake.mk + +ifeq ($(findstring $(ARCH), 88f6281 ppc853x),$(ARCH)) +CMAKE_ARGS += -DCMAKE_CXX_FLAGS=-lrt +CMAKE_ARGS += -DCMAKE_C_FLAGS=-std=gnu99 +endif