mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Fix build on armv6.
PR: 216736 Submitted by: Mikaël Urankar <mikael.urankar at gmail.com>
This commit is contained in:
parent
1ae773fda6
commit
6092ba6c4f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442468
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= script
|
||||
DISTVERSION= ${QT5_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
PKGNAMEPREFIX= qt5-
|
||||
|
||||
|
@ -0,0 +1,26 @@
|
||||
Due to a misspelling in GCC [1] (probably) the check for the ARMv6KZ platform
|
||||
used __ARM_ARCH_6ZK__ instead of __ARM_ARCH_6KZ__.
|
||||
|
||||
Append the correct spellings to the checks for __ARM_ARCH_6ZK__.
|
||||
|
||||
|
||||
[1] https://gcc.gnu.org/ml/gcc-patches/2015-06/msg01679.html
|
||||
|
||||
--- src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.orig 2017-02-02 14:03:08 UTC
|
||||
+++ src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
|
||||
@@ -296,6 +296,7 @@
|
||||
#elif defined(__ARM_ARCH_6__) \
|
||||
|| defined(__ARM_ARCH_6J__) \
|
||||
|| defined(__ARM_ARCH_6K__) \
|
||||
+ || defined(__ARM_ARCH_6KZ__) \
|
||||
|| defined(__ARM_ARCH_6Z__) \
|
||||
|| defined(__ARM_ARCH_6ZK__) \
|
||||
|| defined(__ARM_ARCH_6T2__) \
|
||||
@@ -326,6 +327,7 @@
|
||||
|
||||
#elif defined(__ARM_ARCH_6J__) \
|
||||
|| defined(__ARM_ARCH_6K__) \
|
||||
+ || defined(__ARM_ARCH_6KZ__) \
|
||||
|| defined(__ARM_ARCH_6Z__) \
|
||||
|| defined(__ARM_ARCH_6ZK__) \
|
||||
|| defined(__ARM_ARCH_6M__)
|
Loading…
Reference in New Issue
Block a user