ports/devel/qt5-qmake/files/patch-config.tests_arch_arch.pro
Dima Panov 183d079fd6 graphics/qt5-q3d: convert AVX2 detection hack to OPTIONS (+)
Force qt5-qmake to pass CXXFLAGS to cpu features test.
Define AVX OPTION only amd64/i386 arches due to cpu used.

Off by default to keep out-of-box behavior and allow to build
qt5-q3d and its consumes on any old processors.

Necromages, go forward! :)

PR:		255753
With hat:	desktop
Sponsored by:	Netzkommune GmbH
2021-12-19 17:04:58 +03:00

6 lines
184 B
Prolog

--- config.tests/arch/arch.pro.orig 2021-05-26 21:40:42 UTC
+++ config.tests/arch/arch.pro
@@ -1,2 +1,3 @@
SOURCES = arch.cpp
+QMAKE_CXXFLAGS += $$(CXXFLAGS)
include(write_info.pri)