mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-13 23:42:56 +00:00
Auto merge of #39425 - jakllsch:netbsd-a, r=alexcrichton
Don't build gcc_personality_v0.c on NetBSD either
This commit is contained in:
commit
7df5c0f17b
2
mk/rt.mk
2
mk/rt.mk
@ -552,9 +552,11 @@ endif
|
||||
ifeq ($$(findstring msvc,$(1)),)
|
||||
|
||||
ifeq ($$(findstring freebsd,$(1)),)
|
||||
ifeq ($$(findstring netbsd,$(1)),)
|
||||
$(call ADD_INTRINSIC,$(1),gcc_personality_v0.o)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($$(findstring aarch64,$(1)),aarch64)
|
||||
$(foreach intrinsic,comparetf2.o \
|
||||
|
@ -240,7 +240,7 @@ fn main() {
|
||||
sources.extend(&["x86_64/floatdidf.c", "x86_64/floatdisf.c", "x86_64/floatdixf.c"]);
|
||||
}
|
||||
} else {
|
||||
if !target.contains("freebsd") {
|
||||
if !target.contains("freebsd") && !target.contains("netbsd") {
|
||||
sources.extend(&["gcc_personality_v0.c"]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user