@@ -22,7 +22,7 @@ pub fn build(b: *std.Build) void {
22
22
const AFLplusplus_inc_path = AFLplusplus_dep .path ("include/" );
23
23
24
24
// Common flags
25
- var flags = std .BoundedArray ([]const u8 , 15 ){};
25
+ var flags = std .BoundedArray ([]const u8 , 12 ){};
26
26
flags .appendSliceAssumeCapacity (& EXE_FLAGS );
27
27
flags .appendSliceAssumeCapacity (&.{ lib_path_flag , bin_path_flag });
28
28
if (target .result .cpu .arch .isX86 ()) {
@@ -249,7 +249,7 @@ pub fn build(b: *std.Build) void {
249
249
250
250
network_client_exe_util .addCSourceFile (.{
251
251
.file = AFLplusplus_utl_path .path (b , "afl_network_proxy/afl-network-client.c" ),
252
- .flags = &(.{ "-Wno-pointer-sign" , lib_path_flag , bin_path_flag } ),
252
+ .flags = flags . constSlice ( ),
253
253
});
254
254
if (use_deflate ) {
255
255
network_client_exe_util .root_module .addCMacro ("USE_DEFLATE" , "1" );
@@ -269,7 +269,7 @@ pub fn build(b: *std.Build) void {
269
269
});
270
270
network_server_exe_util .addCSourceFile (.{
271
271
.file = AFLplusplus_utl_path .path (b , "afl_network_proxy/afl-network-server.c" ),
272
- .flags = &(.{ "-Wno-pointer-sign" , lib_path_flag , bin_path_flag } ),
272
+ .flags = flags . constSlice ( ),
273
273
});
274
274
if (use_deflate ) {
275
275
network_server_exe_util .root_module .addCMacro ("USE_DEFLATE" , "1" );
0 commit comments