openbsd-ports/x11/qt4/patches/patch-mkspecs_features_qt_prf

20 lines
767 B
Plaintext
Raw Normal View History

$OpenBSD: patch-mkspecs_features_qt_prf,v 1.2 2012/06/14 09:38:35 espie Exp $
--- mkspecs/features/qt.prf.orig Thu Dec 8 06:06:02 2011
+++ mkspecs/features/qt.prf Thu Dec 15 20:09:13 2011
@@ -218,10 +218,10 @@ mac {
mmx:DEFINES += QT_HAVE_MMX
3dnow:DEFINES += QT_HAVE_3DNOW
sse:DEFINES += QT_HAVE_SSE QT_HAVE_MMXEXT
-sse2:DEFINES += QT_HAVE_SSE2
-sse3:DEFINES += QT_HAVE_SSE3
-ssse3:DEFINES += QT_HAVE_SSSE3
-sse4_1:DEFINES += QT_HAVE_SSE4_1
-sse4_2:DEFINES += QT_HAVE_SSE4_2
+sse2:!openbsd-g++ DEFINES += QT_HAVE_SSE2
+sse3:!openbsd-g++ DEFINES += QT_HAVE_SSE3
+ssse3:!openbsd-g++ DEFINES += QT_HAVE_SSSE3
+sse4_1:!openbsd-g++ DEFINES += QT_HAVE_SSE4_1
+sse4_2:!openbsd-g++ DEFINES += QT_HAVE_SSE4_2
avx:DEFINES += QT_HAVE_AVX
iwmmxt:DEFINES += QT_HAVE_IWMMXT