Skip to content

Commit

Permalink
examples/simple: do not hard-code board flag in build.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-Velickovic committed Jan 16, 2024
1 parent 0aaef4d commit 7144d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/simple/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub fn build(b: *std.Build) void {
"-Werror",
"-Wno-unused-function",
"-mstrict-align",
"-DBOARD_qemu_arm_virt", // @ivanv: should not be necessary
fmtPrint("-DBOARD_{s}", .{ microkit_board }) // @ivanv: shouldn't be needed as the library should not depend on the board
}
});

Expand Down Expand Up @@ -167,7 +167,7 @@ pub fn build(b: *std.Build) void {
"-Werror",
"-Wno-unused-function",
"-mstrict-align",
"-DBOARD_qemu_arm_virt", // @ivanv: shouldn't be needed as the library should not depend on the board
fmtPrint("-DBOARD_{s}", .{ microkit_board })
}
});

Expand Down

0 comments on commit 7144d62

Please sign in to comment.