openbsd-ports/x11/qt4/patches/patch-mkspecs_features_qt_prf
espie b60dcae74a update to 4.8.2
- since we no longer have GCC3_ARCHES, simplify, no way it's gonna compile
on a GCC2_ARCH anyways (size matters)
- so, we have only SHARED_ONLY arches, remove those frags as well.
- fold back qt4-sqlite since sqlite is part of core now.
2012-06-14 09:38:35 +00:00

20 lines
767 B
Plaintext

$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