We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53c5b64 commit e87adf4Copy full SHA for e87adf4
1 file changed
Core/src/main/java/com/nativelibs4java/opencl/CLProgram.java
@@ -597,7 +597,7 @@ protected String getOptionsString() {
597
}
598
599
for (String option : extraBuildOptions)
600
- b.append(option).append(' ');
+ b.append(option.contains(" ") || option.contains("\"") ? "\"" + option.replaceAll("\"", "\\\"") + "\"" : option).append(' ');
601
602
603
0 commit comments