Related: rhbz#1150048 rpmdiff: build libetonyek with no-strict-aliasing

f41
David Tardon 10 years ago
parent e0ea397a96
commit 1e80f06ab2

@ -0,0 +1,25 @@
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

@ -328,6 +328,7 @@ Patch18: 0001-radio-check-top-center-bottom-alignment-for-table-ce.patch
Patch19: 0001-allow-comparing-documents-which-only-differ-by-frame.patch
Patch20: 0001-Use-the-same-advanced-Ellipse-and-Rectangle-shapes-i.patch
Patch21: 0001-add-accel.-to-switch-monitors-to-pres.-console.patch
Patch22: 0001-build-libetonyek-with-no-strict-aliasing.patch
%define instdir %{_libdir}
%define baseinstdir %{instdir}/libreoffice

Loading…
Cancel
Save