You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libreoffice/0001-build-libetonyek-with-...

26 lines
928 B

From 08fe34b1b00fee1ee9b4332c8e4b9142af63b4a5 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Thu, 5 Feb 2015 14:46:31 +0100
Subject: [PATCH 1/2] build libetonyek with no-strict-aliasing
Change-Id: I004133fb8a8e55cce74470078013e102d6c0514e
---
external/libetonyek/ExternalProject_libetonyek.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/external/libetonyek/ExternalProject_libetonyek.mk b/external/libetonyek/ExternalProject_libetonyek.mk
index b4b5589..6e090b1 100644
--- a/external/libetonyek/ExternalProject_libetonyek.mk
+++ b/external/libetonyek/ExternalProject_libetonyek.mk
@@ -38,6 +38,7 @@ $(call gb_ExternalProject_get_state_target,libetonyek,build) :
XML_CFLAGS="$(LIBXML_CFLAGS)" \
XML_LIBS="$(LIBXML_LIBS)" \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
+ CXXFLAGS="$(CXXFLAGS) -fno-strict-aliasing" \
&& $(MAKE) \
)
--
2.1.0