Don't build gcc_personality_v0.c on NetBSD either

This commit is contained in:
Jonathan A. Kollasch 2017-01-23 10:14:16 -06:00
parent 24055d0f2a
commit d10a509932
2 changed files with 3 additions and 1 deletions

View file

@ -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 \

View file

@ -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"]);
}