diff --git a/src/builder/builder_dynamic.cpp b/src/builder/builder_dynamic.cpp index ab41aa8..0667b6d 100644 --- a/src/builder/builder_dynamic.cpp +++ b/src/builder/builder_dynamic.cpp @@ -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());