Auto merge of #46273 - semarie:openbsd-libc++, r=alexcrichton

make OpenBSD to use libc++ instead of (e)stdc++
This commit is contained in:
bors 2017-11-27 01:43:41 +00:00
commit 73df30d467
4 changed files with 5 additions and 4 deletions

View file

@ -92,7 +92,7 @@ ifeq ($(UNAME),SunOS)
EXTRACFLAGS := -lm -lpthread -lposix4 -lsocket -lresolv
else
ifeq ($(UNAME),OpenBSD)
EXTRACFLAGS := -lm -lpthread
EXTRACFLAGS := -lm -lpthread -lc++abi
RUSTC := $(RUSTC) -C linker="$(word 1,$(CC:ccache=))"
else
EXTRACFLAGS := -lm -lrt -ldl -lpthread