commit | e837e1a38b79ddf82f5497d80a4c2fe87241dff2 | [log] [tgz] |
---|---|---|
author | Jan Voung <jvoung@chromium.org> | Mon Mar 02 14:21:54 2015 -0800 |
committer | Jan Voung <jvoung@chromium.org> | Mon Mar 02 14:21:54 2015 -0800 |
tree | 51efc802712a01fc5d622e6d7a514d6c9bf29208 | |
parent | c45087913705fe19eca05c321c240fed6058343f [diff] |
Subzero makefile changes for linking a static llvm2ice nexe w/ LLVM build sys. Need to list more dependencies, otherwise the static link fails. The current unsandboxed build is a shared build which uses libLLVM-3.*.so. Also mess with the CXXFlags a bit. The current pnacl-llc nexe build uses O3, but that triggers a method pointer bug: https://code.google.com/p/nativeclient/issues/detail?id=3857, so override that with O2. We may just want to change the pnacl-llc build as well (maybe use Os), but I don't know of the performance implications right now. Use gnu++11, because of newlib + libc++. Toggle the feature flags to be a MINIMAL build when building the sandboxed translator w/ the LLVM-based Makefile. Goes with build script change https://codereview.chromium.org/945473003/ BUG= https://code.google.com/p/nativeclient/issues/detail?id=4091 BUG= https://code.google.com/p/nativeclient/issues/detail?id=3857 R=dschuff@chromium.org, kschimpf@google.com Review URL: https://codereview.chromium.org/937283002