From ce46c257f2c1789f82cdaf12edb5b683f3cc1251 Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Wed, 28 Oct 2020 22:23:40 +0100 Subject: [pixman] fix build failure on ARM32 due to sse2 (#14179) --- ports/pixman/CMakeLists.txt | 2 +- ports/pixman/CONTROL | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ports/pixman/CMakeLists.txt b/ports/pixman/CMakeLists.txt index 48e01ec66..06643c30c 100644 --- a/ports/pixman/CMakeLists.txt +++ b/ports/pixman/CMakeLists.txt @@ -63,7 +63,7 @@ add_library(pixman-1 ${SOURCES}) target_include_directories(pixman-1 PUBLIC $) target_compile_definitions(pixman-1 ${PIXMAN_DEFS}) -if(UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 4) +if(USE_SSE2 AND UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 4) target_compile_options(pixman-1 PRIVATE -msse2) endif() diff --git a/ports/pixman/CONTROL b/ports/pixman/CONTROL index d081eaacf..a9e21f833 100644 --- a/ports/pixman/CONTROL +++ b/ports/pixman/CONTROL @@ -1,4 +1,5 @@ Source: pixman -Version: 0.38.4-1 +Version: 0.38.4 +Port-Version: 2 Homepage: https://www.cairographics.org/releases Description: Pixman is a low-level software library for pixel manipulation, providing features such as image compositing and trapezoid rasterization. -- cgit v1.2.3