summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-09-05 17:12:12 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-09-05 17:12:12 +0000
commit4a611259e0212b90e3e0afc33469931b42d0aa75 (patch)
tree283c1ba88d825cc16ea54ca58f1cfc07801df3f6 /lib/libcompiler_rt
parentb19ec84a9994a05dc975452a4081ee071fcd0a0e (diff)
Notes
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r--lib/libcompiler_rt/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcompiler_rt/Makefile.inc b/lib/libcompiler_rt/Makefile.inc
index b7b25cb8dad8..6b467dfce148 100644
--- a/lib/libcompiler_rt/Makefile.inc
+++ b/lib/libcompiler_rt/Makefile.inc
@@ -117,8 +117,8 @@ SRCF+= udivti3
SRCF+= umoddi3
SRCF+= umodti3
-# Avoid using SSE2 instructions on i386.
-.if ${MACHINE_CPUARCH} == "i386"
+# Avoid using SSE2 instructions on i386, if unsupported.
+.if ${MACHINE_CPUARCH} == "i386" && empty(MACHINE_CPU:Msse2)
SRCS+= floatdidf.c
SRCS+= floatdisf.c
SRCS+= floatdixf.c