summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcompiler_rt/Makefile.inc')
-rw-r--r--lib/libcompiler_rt/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libcompiler_rt/Makefile.inc b/lib/libcompiler_rt/Makefile.inc
index cd665ed..3d05eed 100644
--- a/lib/libcompiler_rt/Makefile.inc
+++ b/lib/libcompiler_rt/Makefile.inc
@@ -123,6 +123,11 @@ SRCF+= udivti3
SRCF+= umoddi3
SRCF+= umodti3
+# __cpu_model support, only used on x86
+.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
+SRCF+= cpu_model
+.endif
+
# 128-bit quad precision long double support, only used on arm64
.if ${MACHINE_CPUARCH} == "aarch64"
SRCF+= addtf3
OpenPOWER on IntegriCloud