@@ -22,7 +22,8 @@ bool build_wdc_lib(Nob_Cmd *cmd) {
2222 nob_da_free (source_paths );
2323 return true;
2424 }
25- nob_cmd_append (cmd , "cc" , "-Wall" , "-Wextra" ,"-fsanitize=address" , "-g" , "-c" , src_path , "-o" , bin_path );
25+ /* nob_cmd_append(cmd, "cc", "-Wall", "-Wextra","-fsanitize=address", "-g", "-c", src_path, "-o", bin_path); */
26+ nob_cmd_append (cmd , "cc" , "-Wall" , "-Wextra" , "-g" , "-c" , src_path , "-o" , bin_path );
2627 if (!nob_cmd_run_sync_and_reset (cmd )) return false;
2728 /* Create static lib */
2829 nob_cmd_append (cmd , "ar" , "rcs" , BUILD_FOLDER "libwdc.a" , bin_path );
@@ -47,7 +48,8 @@ bool build_wdc_main(Nob_Cmd *cmd) {
4748 return true;
4849 }
4950 /* Link static library with main */
50- nob_cmd_append (cmd , "cc" , "-Wall" , "-Wextra" , "-fsanitize=address" , "-g" , src_path , "-o" , bin_path , "-L" BUILD_FOLDER , "-lwdc" );
51+ /* nob_cmd_append(cmd, "cc", "-Wall", "-Wextra", "-fsanitize=address", "-g", src_path, "-o", bin_path, "-L"BUILD_FOLDER, "-lwdc"); */
52+ nob_cmd_append (cmd , "cc" , "-Wall" , "-Wextra" , "-g" , src_path , "-o" , bin_path , "-L" BUILD_FOLDER , "-lwdc" );
5153 if (!nob_cmd_run_sync_and_reset (cmd )) return false;
5254 nob_da_free (source_paths );
5355 return true;
@@ -59,7 +61,8 @@ bool build_and_run_test(Nob_Cmd *cmd, const char *test_name) {
5961 const char * src_path = nob_temp_sprintf ("%s%s.c" , TESTS_FOLDER , test_name );
6062
6163 build_wdc_lib (cmd );
62- nob_cmd_append (cmd , "cc" , "-Wall" , "-Wextra" , "-fsanitize=address" , "-g" , src_path , "-o" , bin_path , "-L" BUILD_FOLDER , "-lwdc" );
64+ /* nob_cmd_append(cmd, "cc", "-Wall", "-Wextra", "-fsanitize=address", "-g", src_path, "-o", bin_path, "-L"BUILD_FOLDER, "-lwdc"); */
65+ nob_cmd_append (cmd , "cc" , "-Wall" , "-Wextra" , "-g" , src_path , "-o" , bin_path , "-L" BUILD_FOLDER , "-lwdc" );
6366 if (!nob_cmd_run_sync_and_reset (cmd )) return false;
6467 nob_cmd_append (cmd , bin_path );
6568 if (!nob_cmd_run_sync_and_reset (cmd )) return false;
0 commit comments