Skip to content

Commit 2b8ac38

Browse files
author
Keegan McAllister
committed
---
yaml --- r: 137201 b: refs/heads/release-prep c: 401aeaf h: refs/heads/master i: 137199: a1a0053 v: v3
1 parent 9891219 commit 2b8ac38

File tree

562 files changed

+14463
-5214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

562 files changed

+14463
-5214
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2929
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
3030
refs/heads/libuv-update-temp-branch: 6ed22c618766f1f2a2e108eef8ce3f51be0f70b7
3131
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
32-
refs/heads/release-prep: 3b8c528d083b2e1f6b34eceb518d60c5efdb4ef4
32+
refs/heads/release-prep: 401aeaf6d3a6ec712ee46151faf574adaa5ff3c6

branches/release-prep/.gitmodules

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
path = src/llvm
33
url = https://github.com/rust-lang/llvm.git
44
branch = master
5+
[submodule "src/libuv"]
6+
path = src/libuv
7+
url = https://github.com/rust-lang/libuv.git
8+
branch = master
9+
[submodule "src/gyp"]
10+
path = src/gyp
11+
url = https://github.com/rust-lang/gyp.git
512
[submodule "src/compiler-rt"]
613
path = src/compiler-rt
714
url = https://github.com/rust-lang/compiler-rt.git

branches/release-prep/.travis.yml

Lines changed: 52 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,60 @@
11
# Use something that's not 'ruby' so we don't set up things like
2-
# RVM/bundler/ruby and whatnot. Right now 'rust' as a language actually
3-
# downloads a rust/cargo snapshot, which we don't really want for building rust.
2+
# RVM/bundler/ruby and whatnot. Right now 'rust' isn't a language on travis and
3+
# it treats unknown languages as ruby-like I believe.
44
language: c
55

6-
# The test suite is in general way too stressful for travis, especially in
7-
# terms of time limit and reliability. In the past we've tried to scale things
8-
# back to only build the stage1 compiler and run a subset of tests, but this
9-
# didn't end up panning out very well.
6+
# Before we start doing anything, install a stock LLVM
7+
install:
8+
- sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main' >> /etc/apt/sources.list"
9+
- sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list"
10+
- sudo sh -c "echo 'deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main' >> /etc/apt/sources.list"
11+
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
12+
- sudo apt-get update -qq
13+
- sudo apt-get install -qq --force-yes -y llvm-$LLVM_VERSION
14+
llvm-${LLVM_VERSION}-dev clang-$LLVM_VERSION lldb-$LLVM_VERSION
15+
16+
17+
# All of the llvm tools are suffixed with "-$VERS" which we don't want, so
18+
# symlink them all into a local directory and just use that
1019
#
11-
# As a result, we're just using travis to run `make tidy` now. It'll help
12-
# everyone find out about their trailing spaces early on!
20+
# FIXME: this shouldn't update the src/llvm sub-repo, that takes about a minute
21+
# it's gotta download so much stuff.
1322
before_script:
14-
- ./configure --llvm-root=path/to/nowhere
15-
script:
16-
- make tidy
23+
- mkdir -p local-llvm/bin
24+
- ln -nsf /usr/bin/llvm-config-$LLVM_VERSION local-llvm/bin/llvm-config
25+
- ln -nsf /usr/bin/llvm-mc-$LLVM_VERSION local-llvm/bin/llvm-mc
26+
- ln -nsf /usr/bin/llvm-as-$LLVM_VERSION local-llvm/bin/llvm-as
27+
- ln -nsf /usr/bin/llvm-dis-$LLVM_VERSION local-llvm/bin/llvm-dis
28+
- ln -nsf /usr/bin/llc-$LLVM_VERSION local-llvm/bin/llc
29+
- ln -nsf /usr/include/llvm-$LLVM_VERSION local-llvm/include
30+
- ./configure --disable-optimize-tests --llvm-root=`pwd`/local-llvm
31+
--enable-fast-make --enable-clang
32+
33+
# Tidy everything up first, then build a few things, and then run a few tests.
34+
# Note that this is meant to run in a "fairly small" amount of time, so this
35+
# isn't exhaustive at all.
36+
#
37+
# As a result of https://github.com/travis-ci/travis-ci/issues/1066, we run
38+
# everything in one large command instead of multiple commands.
39+
script: |
40+
if [[ $TRAVIS_PULL_REQUEST != 'false' ]]; then
41+
if [[ $LLVM_VERSION != '3.4' ]]; then exit 0; fi
42+
fi &&
43+
make tidy &&
44+
make -j4 rustc-stage1 RUSTFLAGS='-Z time-passes' &&
45+
make check-stage1-std check-stage1-rpass check-stage1-cfail check-stage1-rfail check-stage1-doc
46+
47+
env:
48+
global:
49+
- NO_BENCH=1
50+
matrix:
51+
- LLVM_VERSION=3.3
52+
- LLVM_VERSION=3.4
53+
54+
# We track this ourselves, and in theory we don't have to update the LLVM repo
55+
# (but sadly we do right now anyway).
56+
git:
57+
submodules: false
1758

1859
notifications:
1960
email: false

branches/release-prep/COPYRIGHT

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,41 @@ their own copyright notices and license terms:
213213
as the Rust compiler or runtime libraries themselves).
214214

215215

216+
* The libuv asynchronous I/O library. Code for this package
217+
is found in the src/libuv directory, within this
218+
distribution. This package is redistributed under the
219+
following terms, as noted in its source:
220+
221+
Copyright Joyent, Inc. and other Node contributors. All
222+
rights reserved. Permission is hereby granted, free of
223+
charge, to any person obtaining a copy of this software
224+
and associated documentation files (the "Software"), to
225+
deal in the Software without restriction, including
226+
without limitation the rights to use, copy, modify,
227+
merge, publish, distribute, sublicense, and/or sell
228+
copies of the Software, and to permit persons to whom
229+
the Software is furnished to do so, subject to the
230+
following conditions:
231+
232+
The above copyright notice and this permission notice
233+
shall be included in all copies or substantial portions
234+
of the Software.
235+
236+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
237+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
238+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
239+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
240+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
241+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
242+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
243+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
244+
DEALINGS IN THE SOFTWARE.
245+
246+
247+
* Additional libraries included in libuv carry separate
248+
BSD-compatible licenses. See src/libuv/LICENSE for
249+
details.
250+
216251
* The src/rt/miniz.c file, carrying an implementation of
217252
RFC1950/RFC1951 DEFLATE, by Rich Geldreich
218253
<[email protected]>. All uses of this file are

branches/release-prep/configure

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ valopt prefix "/usr/local" "set installation prefix"
438438
valopt local-rust-root "/usr/local" "set prefix for local rust binary"
439439
valopt llvm-root "" "set LLVM root"
440440
valopt jemalloc-root "" "set directory where libjemalloc_pic.a is located"
441+
valopt libuv-root "" "set directory where libuv.a is located"
441442
valopt android-cross-path "/opt/ndk_standalone" "Android NDK standalone path"
442443
valopt mingw32-cross-path "" "MinGW32 cross compiler path"
443444

@@ -868,6 +869,10 @@ do
868869
do
869870
make_dir $t/rt/stage$s
870871
make_dir $t/rt/jemalloc
872+
make_dir $t/rt/libuv
873+
make_dir $t/rt/libuv/src/ares
874+
make_dir $t/rt/libuv/src/eio
875+
make_dir $t/rt/libuv/src/ev
871876
for i in \
872877
isaac sync test \
873878
arch/i386 arch/x86_64 arch/arm arch/mips \
@@ -921,7 +926,6 @@ do
921926
make_dir $h/test/doc-guide-pointers
922927
make_dir $h/test/doc-guide-container
923928
make_dir $h/test/doc-guide-tasks
924-
make_dir $h/test/doc-guide-plugin
925929
make_dir $h/test/doc-rust
926930
done
927931

@@ -948,6 +952,10 @@ then
948952
msg "git: submodule deinit src/jemalloc"
949953
"${CFG_GIT}" submodule deinit src/jemalloc
950954
fi
955+
if [ ! -z "${CFG_LIBUV_ROOT}" ]; then
956+
msg "git: submodule deinit src/libuv"
957+
"${CFG_GIT}" submodule deinit src/libuv
958+
fi
951959

952960
msg "git: submodule update"
953961
"${CFG_GIT}" submodule update
@@ -1208,6 +1216,7 @@ putvar CFG_MINGW32_CROSS_PATH
12081216
putvar CFG_MANDIR
12091217
putvar CFG_DISABLE_INJECT_STD_VERSION
12101218
putvar CFG_JEMALLOC_ROOT
1219+
putvar CFG_LIBUV_ROOT
12111220
putvar CFG_DISABLE_JEMALLOC
12121221

12131222
# Avoid spurious warnings from clang by feeding it original source on

branches/release-prep/mk/crates.mk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
# automatically generated for all stage/host/target combinations.
5050
################################################################################
5151

52-
TARGET_CRATES := libc std green native flate arena glob term semver \
52+
TARGET_CRATES := libc std green rustuv native flate arena glob term semver \
5353
uuid serialize sync getopts collections num test time rand \
5454
url log regex graphviz core rbml rlibc alloc debug rustrt \
5555
unicode
@@ -69,6 +69,7 @@ DEPS_std := core libc rand alloc collections rustrt sync unicode \
6969
native:rust_builtin native:backtrace
7070
DEPS_graphviz := std
7171
DEPS_green := std native:context_switch
72+
DEPS_rustuv := std native:uv native:uv_support
7273
DEPS_native := std
7374
DEPS_syntax := std term serialize log fmt_macros debug arena libc
7475
DEPS_rustc := syntax flate arena serialize getopts rbml \
@@ -101,7 +102,7 @@ DEPS_regex := std
101102
DEPS_regex_macros = rustc syntax std regex
102103
DEPS_fmt_macros = std
103104

104-
TOOL_DEPS_compiletest := test getopts
105+
TOOL_DEPS_compiletest := test green rustuv getopts
105106
TOOL_DEPS_rustdoc := rustdoc native
106107
TOOL_DEPS_rustc := rustc native
107108
TOOL_SOURCE_compiletest := $(S)src/compiletest/compiletest.rs

branches/release-prep/mk/ctags.mk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,21 @@
1616
.PHONY: TAGS.emacs TAGS.vi
1717

1818
# This is using a blacklist approach, probably more durable than a whitelist.
19-
# We exclude: external dependencies (llvm, rt/{msvc,sundown,vg}),
19+
# We exclude: external dependencies (llvm, libuv, gyp, rt/{msvc,sundown,vg}),
2020
# tests (compiletest, test) and a couple of other things (rt/arch, etc)
2121
CTAGS_LOCATIONS=$(patsubst ${CFG_SRC_DIR}src/llvm,, \
22+
$(patsubst ${CFG_SRC_DIR}src/libuv,, \
2223
$(patsubst ${CFG_SRC_DIR}src/compiletest,, \
2324
$(patsubst ${CFG_SRC_DIR}src/test,, \
25+
$(patsubst ${CFG_SRC_DIR}src/gyp,, \
2426
$(patsubst ${CFG_SRC_DIR}src/etc,, \
2527
$(patsubst ${CFG_SRC_DIR}src/rt,, \
2628
$(patsubst ${CFG_SRC_DIR}src/rt/arch,, \
2729
$(patsubst ${CFG_SRC_DIR}src/rt/msvc,, \
2830
$(patsubst ${CFG_SRC_DIR}src/rt/sundown,, \
2931
$(patsubst ${CFG_SRC_DIR}src/rt/vg,, \
3032
$(wildcard ${CFG_SRC_DIR}src/*) $(wildcard ${CFG_SRC_DIR}src/rt/*) \
31-
)))))))))
33+
)))))))))))
3234
CTAGS_OPTS=--options="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=-javascript --recurse ${CTAGS_LOCATIONS}
3335
# We could use `--languages=Rust`, but there is value in producing tags for the
3436
# C++ parts of the code base too (at the time of writing, those are .h and .cpp

branches/release-prep/mk/dist.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ LICENSE.txt: $(S)COPYRIGHT $(S)LICENSE-APACHE $(S)LICENSE-MIT
3535

3636
PKG_TAR = dist/$(PKG_NAME).tar.gz
3737

38-
PKG_GITMODULES := $(S)src/llvm $(S)src/compiler-rt \
38+
PKG_GITMODULES := $(S)src/libuv $(S)src/llvm $(S)src/gyp $(S)src/compiler-rt \
3939
$(S)src/rt/hoedown $(S)src/jemalloc
4040
PKG_FILES := \
4141
$(S)COPYRIGHT \
@@ -283,7 +283,7 @@ distcheck-docs: dist-docs
283283

284284
ifdef CFG_WINDOWSY_$(CFG_BUILD)
285285

286-
dist: dist-win dist-tar-bins
286+
dist: dist-win
287287

288288
distcheck: distcheck-win
289289
$(Q)rm -Rf tmp/distcheck

branches/release-prep/mk/docs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
######################################################################
2828
DOCS := index intro tutorial guide guide-ffi guide-macros guide-lifetimes \
2929
guide-tasks guide-container guide-pointers guide-testing \
30-
guide-runtime guide-plugin complement-bugreport \
30+
guide-runtime complement-bugreport \
3131
complement-lang-faq complement-design-faq complement-project-faq rust \
3232
rustdoc guide-unsafe guide-strings reference
3333

branches/release-prep/mk/main.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ endif
246246
######################################################################
247247

248248
# FIXME: x86-ism
249-
LLVM_COMPONENTS=x86 arm mips ipo bitreader bitwriter linker asmparser mcjit \
249+
LLVM_COMPONENTS=x86 arm mips ipo bitreader bitwriter linker asmparser jit mcjit \
250250
interpreter instrumentation
251251

252252
# Only build these LLVM tools

branches/release-prep/mk/platform.mk

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ CFG_GCCISH_POST_LIB_FLAGS_x86_64-unknown-linux-gnu := -Wl,-no-whole-archive
118118
CFG_DEF_SUFFIX_x86_64-unknown-linux-gnu := .linux.def
119119
CFG_LLC_FLAGS_x86_64-unknown-linux-gnu :=
120120
CFG_INSTALL_NAME_x86_64-unknown-linux-gnu =
121+
CFG_LIBUV_LINK_FLAGS_x86_64-unknown-linux-gnu =
121122
CFG_EXE_SUFFIX_x86_64-unknown-linux-gnu =
122123
CFG_WINDOWSY_x86_64-unknown-linux-gnu :=
123124
CFG_UNIXY_x86_64-unknown-linux-gnu := 1
@@ -145,6 +146,7 @@ CFG_GCCISH_POST_LIB_FLAGS_i686-unknown-linux-gnu := -Wl,-no-whole-archive
145146
CFG_DEF_SUFFIX_i686-unknown-linux-gnu := .linux.def
146147
CFG_LLC_FLAGS_i686-unknown-linux-gnu :=
147148
CFG_INSTALL_NAME_i686-unknown-linux-gnu =
149+
CFG_LIBUV_LINK_FLAGS_i686-unknown-linux-gnu =
148150
CFG_EXE_SUFFIX_i686-unknown-linux-gnu =
149151
CFG_WINDOWSY_i686-unknown-linux-gnu :=
150152
CFG_UNIXY_i686-unknown-linux-gnu := 1
@@ -178,6 +180,7 @@ CFG_GCCISH_POST_LIB_FLAGS_arm-apple-ios :=
178180
CFG_DEF_SUFFIX_arm-apple-ios := .darwin.def
179181
CFG_LLC_FLAGS_arm-apple-ios := -mattr=+vfp3,+v7,+thumb2,+neon -march=arm
180182
CFG_INSTALL_NAME_arm-apple-ios = -Wl,-install_name,@rpath/$(1)
183+
CFG_LIBUV_LINK_FLAGS_arm-apple-ios =
181184
CFG_EXE_SUFFIX_arm-apple-ios :=
182185
CFG_WINDOWSY_arm-apple-ios :=
183186
CFG_UNIXY_arm-apple-ios := 1
@@ -213,6 +216,7 @@ CFG_GCCISH_POST_LIB_FLAGS_i386-apple-ios =
213216
CFG_DEF_SUFFIX_i386-apple-ios = .darwin.def
214217
CFG_LLC_FLAGS_i386-apple-ios =
215218
CFG_INSTALL_NAME_i386-apple-ios = -Wl,-install_name,@rpath/$(1)
219+
CFG_LIBUV_LINK_FLAGS_i386-apple-ios =
216220
CFG_EXE_SUFFIX_i386-apple-ios =
217221
CFG_WINDOWSY_i386-apple-ios =
218222
CFG_UNIXY_i386-apple-ios = 1
@@ -241,6 +245,7 @@ CFG_GCCISH_POST_LIB_FLAGS_x86_64-apple-darwin :=
241245
CFG_DEF_SUFFIX_x86_64-apple-darwin := .darwin.def
242246
CFG_LLC_FLAGS_x86_64-apple-darwin :=
243247
CFG_INSTALL_NAME_x86_64-apple-darwin = -Wl,-install_name,@rpath/$(1)
248+
CFG_LIBUV_LINK_FLAGS_x86_64-apple-darwin =
244249
CFG_EXE_SUFFIX_x86_64-apple-darwin :=
245250
CFG_WINDOWSY_x86_64-apple-darwin :=
246251
CFG_UNIXY_x86_64-apple-darwin := 1
@@ -268,6 +273,7 @@ CFG_GCCISH_POST_LIB_FLAGS_i686-apple-darwin :=
268273
CFG_DEF_SUFFIX_i686-apple-darwin := .darwin.def
269274
CFG_LLC_FLAGS_i686-apple-darwin :=
270275
CFG_INSTALL_NAME_i686-apple-darwin = -Wl,-install_name,@rpath/$(1)
276+
CFG_LIBUV_LINK_FLAGS_i686-apple-darwin =
271277
CFG_EXE_SUFFIX_i686-apple-darwin :=
272278
CFG_WINDOWSY_i686-apple-darwin :=
273279
CFG_UNIXY_i686-apple-darwin := 1
@@ -295,6 +301,7 @@ CFG_GCCISH_POST_LIB_FLAGS_arm-linux-androideabi := -Wl,-no-whole-archive
295301
CFG_DEF_SUFFIX_arm-linux-androideabi := .android.def
296302
CFG_LLC_FLAGS_arm-linux-androideabi :=
297303
CFG_INSTALL_NAME_arm-linux-androideabi =
304+
CFG_LIBUV_LINK_FLAGS_arm-linux-androideabi =
298305
CFG_EXE_SUFFIX_arm-linux-androideabi :=
299306
CFG_WINDOWSY_arm-linux-androideabi :=
300307
CFG_UNIXY_arm-linux-androideabi := 1
@@ -325,6 +332,7 @@ CFG_GCCISH_POST_LIB_FLAGS_arm-unknown-linux-gnueabihf := -Wl,-no-whole-archive
325332
CFG_DEF_SUFFIX_arm-unknown-linux-gnueabihf := .linux.def
326333
CFG_LLC_FLAGS_arm-unknown-linux-gnueabihf :=
327334
CFG_INSTALL_NAME_ar,-unknown-linux-gnueabihf =
335+
CFG_LIBUV_LINK_FLAGS_arm-unknown-linux-gnueabihf =
328336
CFG_EXE_SUFFIX_arm-unknown-linux-gnueabihf :=
329337
CFG_WINDOWSY_arm-unknown-linux-gnueabihf :=
330338
CFG_UNIXY_arm-unknown-linux-gnueabihf := 1
@@ -355,6 +363,7 @@ CFG_GCCISH_POST_LIB_FLAGS_arm-unknown-linux-gnueabi := -Wl,-no-whole-archive
355363
CFG_DEF_SUFFIX_arm-unknown-linux-gnueabi := .linux.def
356364
CFG_LLC_FLAGS_arm-unknown-linux-gnueabi :=
357365
CFG_INSTALL_NAME_arm-unknown-linux-gnueabi =
366+
CFG_LIBUV_LINK_FLAGS_arm-unknown-linux-gnueabi =
358367
CFG_EXE_SUFFIX_arm-unknown-linux-gnueabi :=
359368
CFG_WINDOWSY_arm-unknown-linux-gnueabi :=
360369
CFG_UNIXY_arm-unknown-linux-gnueabi := 1
@@ -384,6 +393,7 @@ CFG_GCCISH_POST_LIB_FLAGS_mipsel-linux := -Wl,-no-whole-archive
384393
CFG_DEF_SUFFIX_mipsel-linux := .linux.def
385394
CFG_LLC_FLAGS_mipsel-linux :=
386395
CFG_INSTALL_NAME_mipsel-linux =
396+
CFG_LIBUV_LINK_FLAGS_mipsel-linux =
387397
CFG_EXE_SUFFIX_mipsel-linux :=
388398
CFG_WINDOWSY_mipsel-linux :=
389399
CFG_UNIXY_mipsel-linux := 1
@@ -413,6 +423,7 @@ CFG_GCCISH_POST_LIB_FLAGS_mips-unknown-linux-gnu := -Wl,-no-whole-archive
413423
CFG_DEF_SUFFIX_mips-unknown-linux-gnu := .linux.def
414424
CFG_LLC_FLAGS_mips-unknown-linux-gnu :=
415425
CFG_INSTALL_NAME_mips-unknown-linux-gnu =
426+
CFG_LIBUV_LINK_FLAGS_mips-unknown-linux-gnu =
416427
CFG_EXE_SUFFIX_mips-unknown-linux-gnu :=
417428
CFG_WINDOWSY_mips-unknown-linux-gnu :=
418429
CFG_UNIXY_mips-unknown-linux-gnu := 1
@@ -441,6 +452,7 @@ CFG_GCCISH_POST_LIB_FLAGS_i586-mingw32msvc :=
441452
CFG_DEF_SUFFIX_i586-mingw32msvc := .mingw32.def
442453
CFG_LLC_FLAGS_i586-mingw32msvc :=
443454
CFG_INSTALL_NAME_i586-mingw32msvc =
455+
CFG_LIBUV_LINK_FLAGS_i586-mingw32msvc := -L$(CFG_MINGW32_CROSS_PATH)/i586-mingw32msvc/lib -lws2_32 -lpsapi -liphlpapi
444456
CFG_EXE_SUFFIX_i586-mingw32msvc := .exe
445457
CFG_WINDOWSY_i586-mingw32msvc := 1
446458
CFG_UNIXY_i586-mingw32msvc :=
@@ -471,6 +483,7 @@ CFG_GCCISH_POST_LIB_FLAGS_i686-w64-mingw32 :=
471483
CFG_DEF_SUFFIX_i686-w64-mingw32 := .mingw32.def
472484
CFG_LLC_FLAGS_i686-w64-mingw32 :=
473485
CFG_INSTALL_NAME_i686-w64-mingw32 =
486+
CFG_LIBUV_LINK_FLAGS_i686-w64-mingw32 := -lws2_32 -lpsapi -liphlpapi
474487
CFG_EXE_SUFFIX_i686-w64-mingw32 := .exe
475488
CFG_WINDOWSY_i686-w64-mingw32 := 1
476489
CFG_UNIXY_i686-w64-mingw32 :=
@@ -502,6 +515,7 @@ CFG_GCCISH_POST_LIB_FLAGS_x86_64-w64-mingw32 :=
502515
CFG_DEF_SUFFIX_x86_64-w64-mingw32 := .mingw32.def
503516
CFG_LLC_FLAGS_x86_64-w64-mingw32 :=
504517
CFG_INSTALL_NAME_x86_64-w64-mingw32 =
518+
CFG_LIBUV_LINK_FLAGS_x86_64-w64-mingw32 := -lws2_32 -lpsapi -liphlpapi
505519
CFG_EXE_SUFFIX_x86_64-w64-mingw32 := .exe
506520
CFG_WINDOWSY_x86_64-w64-mingw32 := 1
507521
CFG_UNIXY_x86_64-w64-mingw32 :=
@@ -529,6 +543,7 @@ CFG_GCCISH_POST_LIB_FLAGS_x86_64-unknown-freebsd := -Wl,-no-whole-archive
529543
CFG_DEF_SUFFIX_x86_64-unknown-freebsd := .bsd.def
530544
CFG_LLC_FLAGS_x86_64-unknown-freebsd :=
531545
CFG_INSTALL_NAME_x86_64-unknown-freebsd =
546+
CFG_LIBUV_LINK_FLAGS_x86_64-unknown-freebsd := -pthread -lkvm
532547
CFG_EXE_SUFFIX_x86_64-unknown-freebsd :=
533548
CFG_WINDOWSY_x86_64-unknown-freebsd :=
534549
CFG_UNIXY_x86_64-unknown-freebsd := 1
@@ -555,6 +570,7 @@ CFG_GCCISH_POST_LIB_FLAGS_x86_64-unknown-dragonfly := -Wl,-no-whole-archive
555570
CFG_DEF_SUFFIX_x86_64-unknown-dragonfly := .bsd.def
556571
CFG_LLC_FLAGS_x86_64-unknown-dragonfly :=
557572
CFG_INSTALL_NAME_x86_64-unknown-dragonfly =
573+
CFG_LIBUV_LINK_FLAGS_x86_64-unknown-dragonfly := -pthread -lkvm
558574
CFG_EXE_SUFFIX_x86_64-unknown-dragonfly :=
559575
CFG_WINDOWSY_x86_64-unknown-dragonfly :=
560576
CFG_UNIXY_x86_64-unknown-dragonfly := 1

0 commit comments

Comments
 (0)