diff options
| author | Michael Forney <mforney@mforney.org> | 2017-01-03 22:40:04 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-01-03 22:40:04 -0800 |
| commit | fa73212a4c9d7e8dc49b7fcbfb6b1cbbb7e4981a (patch) | |
| tree | 93f9f84e2f3ca242d3c0aa7758755b4b4de88163 | |
| parent | c97bb5698c98b9a091571579dc352469d9ed9bd2 (diff) | |
Change default target toolchain to x86_64-linux-musl
This way, compiling from a non-musl host system is easier since we can
use the host's libpng and zlib when building netsurf.
| -rw-r--r-- | build.ninja | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build.ninja b/build.ninja index e4fbfa09..63690e39 100644 --- a/build.ninja +++ b/build.ninja @@ -1,14 +1,14 @@ builddir = out -target_toolchain = default +target_toolchain = x86_64-linux-musl target_cflags = -O2 -pipe target_cxxflags = $cflags target_ldflags = -s -static -host_toolchain = $target_toolchain -host_cflags = $target_cflags -host_cxxflags = $target_cxxflags -host_ldflags = $target_ldflags +host_toolchain = default +host_cflags = -pipe +host_cxxflags = $host_cflags +host_ldflags = lex = lex perl = perl |
