Skip to content

Commit

Permalink
Never build gcc_personality_v0.c
Browse files Browse the repository at this point in the history
  • Loading branch information
jakllsch committed Aug 4, 2016
1 parent b58e840 commit 4d41699
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions mk/rt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,6 @@ COMPRT_OBJS_$(1) += emutls.o
endif

ifeq ($$(findstring msvc,$(1)),)

ifeq ($$(findstring freebsd,$(1)),)
COMPRT_OBJS_$(1) += gcc_personality_v0.o
endif

COMPRT_OBJS_$(1) += emutls.o

ifeq ($$(findstring x86_64,$(1)),x86_64)
Expand Down
4 changes: 0 additions & 4 deletions src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,6 @@ pub fn compiler_rt(build: &Build, target: &str) {
]);
}
} else {
if !target.contains("freebsd") {
sources.push("gcc_personality_v0.c");
}

if target.contains("x86_64") {
sources.extend(vec![
"x86_64/chkstk.S",
Expand Down

0 comments on commit 4d41699

Please sign in to comment.