aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-08-30 07:05:29 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-08-30 07:05:29 +0000
commit2b12718be6bf382e36850a71bab54700bca69588 (patch)
treedb91d089568c4578eacb0780373ce07608c73520
parent89fdc67c9c8369ecb5b2430b2ff95f4abc621503 (diff)
Notes
-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 98ba45b35e68..0d0d8e951451 100644
--- a/lib/libcompiler_rt/Makefile.inc
+++ b/lib/libcompiler_rt/Makefile.inc
@@ -122,8 +122,8 @@ SRCF+= umoddi3
SRCF+= umodsi3
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