Compare commits
1
Commits
main
..
050b9976f1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
050b9976f1
|
@@ -16,7 +16,7 @@ pub fn build(b: *Build) !void {
|
|||||||
|
|
||||||
const strip = b.option(bool, "strip", "Omit debug information") orelse false;
|
const strip = b.option(bool, "strip", "Omit debug information") orelse false;
|
||||||
const pie = b.option(bool, "pie", "Build a Position Independent Executable") orelse false;
|
const pie = b.option(bool, "pie", "Build a Position Independent Executable") orelse false;
|
||||||
const use_llvm = b.option(bool, "llvm", "Force use of Zig's LLVM backend and the lld linker");
|
const use_llvm = b.option(bool, "llvm", "Force use of Zig's LLVM backend and the lld linker") orelse false;
|
||||||
|
|
||||||
const omit_frame_pointer = switch (optimize) {
|
const omit_frame_pointer = switch (optimize) {
|
||||||
.Debug, .ReleaseSafe => false,
|
.Debug, .ReleaseSafe => false,
|
||||||
|
|||||||
Reference in New Issue
Block a user