Unbreak 4-STABLE build (gcc 2.95.x does not know anything about SSE2).

This commit is contained in:
Alexander Nedotsukov 2005-09-03 02:38:12 +00:00
parent f4f6f48f44
commit 2e1a7bbe3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141829
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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