Skip to content

Commit dab0095

Browse files
committed
Don't build muloti4 on Apple-ARM64.
It looks like it's already included in: lib/clang/3.8.0/lib/darwin/libclang_rt.ios.a(muloti4.c.o)
1 parent 56eb498 commit dab0095

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stdlib/public/stubs/Stubs.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,7 @@ extern "C" long double _swift_fmodl(long double lhs, long double rhs) {
258258
// This implementation is copied here to avoid a new dependency
259259
// on compiler-rt on Linux.
260260
// FIXME: rdar://14883575 Libcompiler_rt omits muloti4
261-
#if (defined(__APPLE__) && defined(__arm64__)) || \
262-
(defined(__linux__) && defined(__x86_64__)) || \
261+
#if (defined(__linux__) && defined(__x86_64__)) || \
263262
(defined(__linux__) && defined(__aarch64__)) || \
264263
(defined(__linux__) && defined(__powerpc64__))
265264

0 commit comments

Comments
 (0)