aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-10-09 12:18:09 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-10-09 13:16:50 -0400
commit6b93495792678bd00a6205967bb2704a9a35e9c7 (patch)
tree9dd12653140fd7943c7d09dce22b0367a0caa73c /src/all_types.hpp
parent5a3c02137e6a15d3b8c1fb3595d55003ea44139a (diff)
downloadzig-6b93495792678bd00a6205967bb2704a9a35e9c7.tar.gz
zig-6b93495792678bd00a6205967bb2704a9a35e9c7.zip
more efficient builtin library code generation
* introduce --disable-pic option which can generally be allowed to be the default. compiler_rt.a and builtin.a get this option when you build a static executable. * compiler_rt and builtin libraries are not built for build-lib --static * posix_spawn instead of fork/execv * disable the error limit on LLD. Fixes the blank lines printed
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index d7071590d8..a144013947 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -1763,6 +1763,7 @@ struct CodeGen {
bool linker_rdynamic;
bool no_rosegment_workaround;
bool each_lib_rpath;
+ bool disable_pic;
Buf *mmacosx_version_min;
Buf *mios_version_min;