diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-09-10 11:26:29 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-09-10 11:26:29 -0400 |
commit | bbac56867d2bdd36d0f279f0f41cd27c758621e0 (patch) | |
tree | 98caf968036c931b684590db678e024cdb2af28b /dev-qt/qtgui/files/qt-5.12-gcc-avx2.patch | |
parent | 7031f13d7da8c29dfc651401b45e7ef44a52e585 (diff) | |
download | gentoo-overlay-bbac56867d2bdd36d0f279f0f41cd27c758621e0.tar.xz gentoo-overlay-bbac56867d2bdd36d0f279f0f41cd27c758621e0.zip |
dev-qt/qtgui: sync ::gentoo
Diffstat (limited to 'dev-qt/qtgui/files/qt-5.12-gcc-avx2.patch')
-rw-r--r-- | dev-qt/qtgui/files/qt-5.12-gcc-avx2.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-qt/qtgui/files/qt-5.12-gcc-avx2.patch b/dev-qt/qtgui/files/qt-5.12-gcc-avx2.patch deleted file mode 100644 index 41814c0..0000000 --- a/dev-qt/qtgui/files/qt-5.12-gcc-avx2.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 3f302cb16ebfefade17b3ea90c5ed258c9150f3a Mon Sep 17 00:00:00 2001 -From: Mike Gilbert <floppym@gentoo.org> -Date: Fri, 1 Mar 2019 21:37:52 -0500 -Subject: [PATCH] gcc: pass -mavx2 instead of -march=core-avx2 - -Resolves a build failure when QMAKE_CXXFLAGS contains -march=native -and the compiler is running on a CPU which does not support AVX2. - -Bug: https://bugs.gentoo.org/672946 ---- - mkspecs/common/gcc-base.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/mkspecs/common/gcc-base.conf b/mkspecs/common/gcc-base.conf -index c2669e4833..44aa96af38 100644 ---- a/mkspecs/common/gcc-base.conf -+++ b/mkspecs/common/gcc-base.conf -@@ -109,7 +109,7 @@ QMAKE_CFLAGS_MIPS_DSP += -mdsp - QMAKE_CFLAGS_MIPS_DSPR2 += -mdspr2 - - # -march=haswell is supported as of GCC 4.9 and Clang 3.6 --QMAKE_CFLAGS_ARCH_HASWELL = -march=core-avx2 -+QMAKE_CFLAGS_ARCH_HASWELL = -mavx2 - - # Wrapper tools that understand .o/.a files with GIMPLE instead of machine code - QMAKE_AR_LTCG = gcc-ar cqs --- -2.21.0.rc1 - |