| author | |
| committer | |
| log | f317acb2cdaaba46c8eaa4b06be6651e3a9fd34e |
| tree | 1e63574421d31f924c4713b4fb4619c8f16d0f8e |
| parent | acb0a87158a4f7850605f162ae3112f084fa22ff |
libc++ now requires this flag1 files changed, 6 insertions(+), 0 deletions(-)
src/libcxx.zig+6| ... | ... | @@ -148,6 +148,12 @@ pub fn buildLibCXX(comp: *Compilation) !void { |
| 148 | 148 | try cflags.append("-fno-exceptions"); |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | if (target.os.tag == .zos) { | |
| 152 | try cflags.append("-fno-aligned-allocation"); | |
| 153 | } else { | |
| 154 | try cflags.append("-faligned-allocation"); | |
| 155 | } | |
| 156 | ||
| 151 | 157 | try cflags.append("-I"); |
| 152 | 158 | try cflags.append(cxx_include_path); |
| 153 | 159 |