void-packages/srcpkgs/graphene/patches/fix-gcc-vector-check.patch

26 lines
707 B
Diff
Raw Normal View History

From 2da1217742648496c44dff86fd0b477d40d9b067 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Wed, 9 Jun 2021 15:47:14 +0200
Subject: [PATCH] fix gcc vector 64-bit check
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 0ef4f5a..669773f 100644
--- a/meson.build
+++ b/meson.build
@@ -311,7 +311,7 @@ if get_option('gcc_vector')
# error "GCC vector intrinsics are disabled on GCC prior to 4.9"
# elif defined(__arm__)
# error "GCC vector intrinsics are disabled on ARM"
-# elif !defined(__x86_64__)
+# elif (__SIZEOF_POINTER__ < 8)
# error "GCC vector intrinsics are disabled on 32bit"
# endif
#else
--
2.31.1