Fedor Indutny
7301d21e46
gyp: qualify library variable
...
Use prefixed variable name for better control over dependencies.
2014-02-05 21:29:25 +04:00
Ben Noordhuis
636f2056a7
Merge remote-tracking branch 'origin/v0.10'
...
Conflicts:
ChangeLog
include/uv-darwin.h
src/unix/darwin.c
src/unix/fsevents.c
src/version.c
src/win/fs.c
2013-10-01 13:20:21 +02:00
Ben Noordhuis
712835a673
build: remove GCC_WARN_ABOUT_MISSING_NEWLINE
...
Not compatible with non-Apple gcc builds. Fixes the following build
error:
gcc-4.8: error: unrecognized command line option '-Wnewline-eof'
2013-09-05 21:33:59 +02:00
Ben Noordhuis
ce2458c053
Merge remote-tracking branch 'origin/v0.10'
...
Conflicts:
test/test-fs.c
test/test-list.h
2013-06-26 10:35:41 +02:00
Ben Noordhuis
a0bc4cca74
build: darwin: disable -fstrict-aliasing warnings
...
gcc 4.2.1 as shipped with Xcode complains incessantly about aliasing
warnings, which, while technically true, disregards the fact that the
aliased types have the same layout in memory. Squelch the warnings.
2013-06-26 13:13:53 +02:00
Linus Mårtensson
ff3ee84442
build: set OS=="android" for android builds
...
Work around the build name issues by instead manually adding the build
target for android builds using '-DOS=android'
This additionally resolves problems caused by the OS variable being
rewritten from "android" to "linux" in gyp. This causes errors, as
real-time support (-lrt) and pthread support (-lpthread) is not
available in the android NDK toolchain as libraries.
The functions present in these libraries are included automatically
during the build instead during the android compilation process.
2013-06-13 21:04:03 +02:00
Ben Noordhuis
eb1f60c022
build: fix build breakage from 3fdd2a1
...
Make sure the android_build variable is defined.
2013-05-31 17:18:22 +02:00
Linus Mårtensson
3fdd2a1128
uv: support android libuv standalone build
...
Tested most of my compilation in the previous patch on NodeJS
and extracted the patches from there. This patch ensures libuv
will be capable of building standalone as well, both with gyp
and Makefiles.
Build documentation was added to the README.md file.
Some tests are failing, and I have not heavily investigated
the reasons. The failures are generally on errors, and are
likely related to differences between fully POSIX-compatible
systems and android.
2013-05-31 13:25:17 +02:00
Linus Mårtensson
fc6a2ad24f
unix: support for android builds
...
Adds targets and fixes to ensure building for android works.
To build on android, refer to the android standalone toolchain.
2013-05-25 21:16:52 +02:00
Timothy J Fontaine
0da533e84f
sunos: re-export entire library when static
...
This is useful to make sure linker doesn't strip things like dtrace
2013-04-10 14:10:05 +02:00
Timothy J Fontaine
e294975bb4
build: gyp disable thin archives
...
Thin archives aren't available on all platforms, notably smartos
2013-04-10 14:10:05 +02:00
Ben Noordhuis
6ba6f4b4d6
build: turn on strict aliasing in release builds
2013-02-25 03:43:03 +01:00
Ben Noordhuis
0761fb51b2
build: support 64 bits darwin builds
...
Before this commit, gyp built 32 bits versions of libuv exclusively.
Enable with:
$ ./gyp_uv -Dtarget_arch=x64
2013-02-24 02:24:09 +01:00
Ben Noordhuis
d8de4fbd13
build: compile with -fwrapv in debug mode
2012-10-15 00:52:27 +02:00
Luigi Grilli
5bfb7c917b
windows: build system improvements
...
* Add shared/static library option
* Add x86/x64 target option
* Improve Visual Studio detection
* Set GYP_MSVS_VERSION to pick VS2010 over VS2008
Closes GH-504
Closes GH-514
2012-09-21 00:53:55 +02:00
Ben Noordhuis
2c3e8b6aa6
build: rework -fvisibility=hidden detection
...
Make the gcc_version macro conform with what node.js and v8 use. Important
because node.js's common.gypi is going to export it soon.
2012-08-13 15:29:21 +02:00
Ben Noordhuis
5b8a1127fe
darwin: compile at -O0 in debug builds
2012-06-29 02:27:20 +02:00
Bert Belder
b386c44e5e
Windows: always enable multicore compile
2012-04-29 02:18:17 +02:00
Bert Belder
0c32087973
Windows: disable minimal rebuild (/Gm)
...
If enabled multicore compile doesn't work.
2012-04-29 02:08:25 +02:00
Ben Noordhuis
32b291d5be
build: don't set -mmacosx-version-min
...
It sets __MAC_OS_X_VERSION_MIN_REQUIRED__, which is what we use for feature
detection.
2012-01-19 16:20:44 +01:00
Carter Allen
1393ee7d26
build: remove hard-coded GCC_VERSION setting (OS X/XCode)
2011-11-03 12:19:34 +01:00
Ben Noordhuis
3ecb319128
build: sunos expects -pthreads, not -pthread
2011-10-25 23:52:03 +00:00
Ben Noordhuis
cb6cd92305
build: fix gcc 3.x build
...
Detect gcc version, -fvisibility is a gcc 4.x switch.
2011-10-25 23:52:03 +00:00
Ryan Dahl
2c0179197f
Make libev verify itself in debug build
2011-09-26 21:07:05 -07:00
Ben Noordhuis
8f6f324746
build: use -m32 only when host_arch != target_arch
...
Unbreaks the gyp build on x86_64 linux systems.
2011-09-19 16:57:39 +02:00
Peter Bright
7db243dc6f
Bring inline with node common.gypi.
...
Win32 readlink()
2011-09-04 13:24:45 -07:00
Peter Bright
2942f5a8cc
GYP upates
2011-08-13 20:27:39 -07:00
Bert Belder
d3cc9a39ed
Move gyp files to root
2011-08-10 22:58:00 +02:00