Skip to content

Commit

Permalink
Fixed missing " " in compiler flags in builder_dynamic.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayBrahmakshatriya authored Oct 19, 2023
1 parent de1b3c0 commit 7168960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder/builder_dynamic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void *compile_and_return_ptr(builder_context &context, std::string source_name,
compiler_name += " -std=c++11 -fPIC ";
}

std::string compile_command = compiler_name + " -shared -O3 " + source_name + " -o " + compiled_name
std::string compile_command = compiler_name + " -shared -O3 " + source_name + " -o " + compiled_name + " "
+ context.dynamic_compiler_flags;

int err = system(compile_command.c_str());
Expand Down

0 comments on commit 7168960

Please sign in to comment.