diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2005-09-03 02:38:12 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2005-09-03 02:38:12 +0000 |
commit | 2e1a7bbe3e0cd57a735ab937f4f117eb1dba0d65 (patch) | |
tree | 07936e23fe5009b498e83efd18e1af090245bea3 /x11-toolkits | |
parent | f4f6f48f44acb9a5a468b98a655309a091f4b5be (diff) | |
download | ports-2e1a7bbe3e0cd57a735ab937f4f117eb1dba0d65.tar.gz ports-2e1a7bbe3e0cd57a735ab937f4f117eb1dba0d65.zip |
Unbreak 4-STABLE build (gcc 2.95.x does not know anything about SSE2).
Notes
Notes:
svn path=/head/; revision=141829
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 3 | ||||
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index a02f9ce8f997..3001ebcaaaad 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -78,7 +78,8 @@ STRIP= # is being use in CPUTYPE that enable SSE2 will causing Java with GTK2 and # Mono/gtk-sharp crash. Disable SSE2 to solve the crash and see ports/72014 # for detail. -.if ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) && ${CC} != "icc" +.if ${OSVERSION} >= 500000 && ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) \ + && ${CC} != "icc" CFLAGS+= -mno-sse2 .endif diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index a02f9ce8f997..3001ebcaaaad 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -78,7 +78,8 @@ STRIP= # is being use in CPUTYPE that enable SSE2 will causing Java with GTK2 and # Mono/gtk-sharp crash. Disable SSE2 to solve the crash and see ports/72014 # for detail. -.if ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) && ${CC} != "icc" +.if ${OSVERSION} >= 500000 && ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) \ + && ${CC} != "icc" CFLAGS+= -mno-sse2 .endif |