File tree Expand file tree Collapse file tree
Clojure/Clojure/CljCompiler Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -222,15 +222,15 @@ static void InitializeCompilerOptions()
222222 // compiler options on *nix need to be of the form
223223 // CLOJURE_COMPILER_DIRECT_LINKING because most shells do not
224224 // support hyphens in variable names
225- string optionName = name . Substring ( 1 + nixPrefix . Length ) . Replace ( "_" , "-" ) . ToLower ( ) ;
225+ string optionName = name . Substring ( nixPrefix . Length ) . Replace ( "_" , "-" ) . ToLower ( ) ;
226226 compilerOptions = RT . assoc ( compilerOptions ,
227227 RT . keyword ( null , optionName ) ,
228228 RT . readString ( v ) ) ;
229229 }
230230 if ( name . StartsWith ( winPrefix ) )
231231 {
232232 compilerOptions = RT . assoc ( compilerOptions ,
233- RT . keyword ( null , name . Substring ( 1 + winPrefix . Length ) ) ,
233+ RT . keyword ( null , name . Substring ( winPrefix . Length ) ) ,
234234 RT . readString ( v ) ) ;
235235 }
236236
You can’t perform that action at this time.
0 commit comments