aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-22 17:35:57 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-01-22 17:35:57 -0500
commit3227aec848bfe13d7a592eb887824e23e018aba9 (patch)
tree8401e6f4518fe7f47aca7a992fa38f54679c4443 /src/codegen.cpp
parent48c7e6c48b81e6e0423b3e4aea238402189eecb7 (diff)
downloadzig-3227aec848bfe13d7a592eb887824e23e018aba9.tar.gz
zig-3227aec848bfe13d7a592eb887824e23e018aba9.zip
fix not respecting sub-arch feature
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 6fffcc6fdf..7ad19fdfcb 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -10679,6 +10679,7 @@ CodeGen *create_child_codegen(CodeGen *parent_gen, Buf *root_src_path, OutType o
child_gen->verbose_llvm_ir = parent_gen->verbose_llvm_ir;
child_gen->verbose_cimport = parent_gen->verbose_cimport;
child_gen->verbose_cc = parent_gen->verbose_cc;
+ child_gen->verbose_llvm_cpu_features = parent_gen->verbose_llvm_cpu_features;
child_gen->llvm_argv = parent_gen->llvm_argv;
child_gen->dynamic_linker_path = parent_gen->dynamic_linker_path;