mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
fbzmq: Fix compilation with newer GCC
Added -faligned-new to fix compilation.
As fbzmq is passing -Werror, fixed compilation with newer GCC versions.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 50f8657141)
This commit is contained in:
+3
-1
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fbzmq
|
||||
PKG_VERSION:=2019.06.10.00
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/facebook/fbzmq/tar.gz/v$(PKG_VERSION)?
|
||||
@@ -37,6 +37,8 @@ CMAKE_OPTIONS += \
|
||||
-DTHRIFT1="$(STAGING_DIR_HOSTPKG)/bin/thrift1" \
|
||||
-DTHRIFT_COMPILER_INCLUDE="$(STAGING_DIR_HOSTPKG)/include/"
|
||||
|
||||
TARGET_CXXFLAGS += -faligned-new
|
||||
|
||||
define Package/fbzmq/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfbzmq.so* $(1)/usr/lib/
|
||||
|
||||
Reference in New Issue
Block a user