File tree Expand file tree Collapse file tree
Core/src/main/java/com/nativelibs4java/opencl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -586,13 +586,13 @@ protected String getOptionsString() {
586586 else {
587587 for (Iterator <String > it = extraBuildOptions .iterator (); it .hasNext ();) {
588588 String opt = it .next ();
589- if ((opt .startsWith ("-O" ) || opt .startsWith ("-g:" )) && !DEBUG_ARGS .contains (opt )) {
589+ if ((opt .startsWith ("-O" ) || opt .startsWith ("-g:" )) && !JavaCL . DEBUG_COMPILER_FLAGS .contains (opt )) {
590590 log (Level .WARNING , "Debug mode : removed argument \" " + opt + "\" from OpenCL compiler command-line arguments" );
591591 it .remove ();
592592 }
593593 }
594- extraBuildOptions .addAll (DEBUG_ARGS );
595- log (Level .ALL , "Debug mode : added OpenCL compiler command-line arguments \" " + StringUtils .implode (DEBUG_ARGS , " " ) + "\" " );
594+ extraBuildOptions .addAll (JavaCL . DEBUG_COMPILER_FLAGS );
595+ log (Level .ALL , "Debug mode : added OpenCL compiler command-line arguments \" " + StringUtils .implode (JavaCL . DEBUG_COMPILER_FLAGS , " " ) + "\" " );
596596 }
597597 }
598598 for (String option : extraBuildOptions )
You can’t perform that action at this time.
0 commit comments