Skip to content

Commit

Permalink
added a space between CXX and Flags causing build issue (#1759)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrieg123 authored Jun 25, 2024
1 parent 0d43460 commit c682365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ int main(int argc, char **argv) {

if (!strcmp(argv[1], "examples")) {
for (int i = 0; i < sizeof(EXAMPLE_FILES) / sizeof(char *); i++) {
if (run("%s%s examples/%s.cpp %s -o %s%s", CXX, CXXFLAGS, EXAMPLE_FILES[i], LDFLAGS, EXAMPLE_FILES[i], EXEC_SUFFIX)) {
if (run("%s %s examples/%s.cpp %s -o %s%s", CXX, CXXFLAGS, EXAMPLE_FILES[i], LDFLAGS, EXAMPLE_FILES[i], EXEC_SUFFIX)) {
return -1;
}
}
Expand Down

0 comments on commit c682365

Please sign in to comment.