Skip to content

Commit 4d41699

Browse files
committed
Never build gcc_personality_v0.c
Refs rust-lang#29977 rust-lang#35004 rust-lang#35032
1 parent b58e840 commit 4d41699

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

mk/rt.mk

-5
Original file line numberDiff line numberDiff line change
@@ -384,11 +384,6 @@ COMPRT_OBJS_$(1) += emutls.o
384384
endif
385385

386386
ifeq ($$(findstring msvc,$(1)),)
387-
388-
ifeq ($$(findstring freebsd,$(1)),)
389-
COMPRT_OBJS_$(1) += gcc_personality_v0.o
390-
endif
391-
392387
COMPRT_OBJS_$(1) += emutls.o
393388

394389
ifeq ($$(findstring x86_64,$(1)),x86_64)

src/bootstrap/native.rs

-4
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,6 @@ pub fn compiler_rt(build: &Build, target: &str) {
348348
]);
349349
}
350350
} else {
351-
if !target.contains("freebsd") {
352-
sources.push("gcc_personality_v0.c");
353-
}
354-
355351
if target.contains("x86_64") {
356352
sources.extend(vec![
357353
"x86_64/chkstk.S",

0 commit comments

Comments
 (0)