| ... | ... | @@ -1343,7 +1343,11 @@ pub const CLibExeObjStep = struct { |
| 1343 | 1343 | %%args.append("-g"); |
| 1344 | 1344 | } |
| 1345 | 1345 | switch (self.build_mode) { |
| 1346 | | builtin.Mode.Debug => {}, |
| 1346 | builtin.Mode.Debug => { |
| 1347 | %%args.append("-fstack-protector-strong"); |
| 1348 | %%args.append("--param"); |
| 1349 | %%args.append("ssp-buffer-size=4"); |
| 1350 | }, |
| 1347 | 1351 | builtin.Mode.ReleaseSafe => { |
| 1348 | 1352 | %%args.append("-O2"); |
| 1349 | 1353 | %%args.append("-D_FORTIFY_SOURCE=2"); |