Skip to content

Commit

Permalink
Fix Issue dlang#686
Browse files Browse the repository at this point in the history
This fixes [Issue dlang#686](dlang#686), "multiple -march with LDC".

Note that I have not run this through the full DUB test suite, as it wasn't obvious to me how to use it.
  • Loading branch information
tsbockman committed Jan 20, 2016
1 parent fe02126 commit 78d1a74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/dub/compilers/buildsettings.d
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ struct BuildSettings {
addPostBuildCommands(bs.postBuildCommands);
}

void addDFlags(in string[] value...) { dflags ~= value; }
void addDFlags(in string[] value...) { add(dflags, value, true); }
void removeDFlags(in string[] value...) { remove(dflags, value); }
void addLFlags(in string[] value...) { lflags ~= value; }
void addLFlags(in string[] value...) { add(lflags, value, true); }
void addLibs(in string[] value...) { add(libs, value); }
void addLinkerFiles(in string[] value...) { add(linkerFiles, value); }
void addSourceFiles(in string[] value...) { add(sourceFiles, value); }
Expand Down

0 comments on commit 78d1a74

Please sign in to comment.