head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.40 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.38 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.36 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.34 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.32 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.30 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.28 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.26 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.24 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.22 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.20 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.18 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.16 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.14 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.12 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.10 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.8 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.6 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.4 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.2 pkgsrc-2021Q2-base:1.1; locks; strict; comment @# @; 1.1 date 2021.06.18.02.21.32; author thor; state Exp; branches; next ; commitid 2VWqDIcUOs6pByXC; desc @@ 1.1 log @x11/qt5-qtbase: build fix for older gcc -march=native See https://bugreports.qt.io/browse/QTBUG-71564 . This replaces -march=core-avx2 with -mavx2 for the respective bits of the code, to avoid interaction with global -march=naitive in not freshest GCC. Otherwise, the build would fail in that setup. @ text @$NetBSD$ Do not break -march=native builds with certain gcc versions. See https://bugreports.qt.io/browse/QTBUG-71564 for detail and upstream unwillingness. --- ./mkspecs/common/gcc-base.conf.orig 2019-06-13 13:36:03.554816463 +0000 +++ ./mkspecs/common/gcc-base.conf @@@@ -109,7 +109,8 @@@@ 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 +# https://bugreports.qt.io/browse/QTBUG-71564 +QMAKE_CFLAGS_ARCH_HASWELL = -mavx2 # Wrapper tools that understand .o/.a files with GIMPLE instead of machine code QMAKE_AR_LTCG = gcc-ar cqs @