Skip to content

Commit

Permalink
move -fms-extension to compilation of party library
Browse files Browse the repository at this point in the history
the flag -fms-extension was applied to the whole project. instead, use it only when building the party library (narrow down -fms-extension scope; #424)
  • Loading branch information
albertnetymk authored and Kiko committed May 19, 2016
1 parent 548c1cd commit f78ac6b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/runtime/pony/premake4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ function c_lib()
end
end


configuration "*"
end

Expand All @@ -66,7 +65,6 @@ solution "ponyrt"
"-mcx16",
"-pthread",
"-std=gnu11",
"-fms-extensions",
"-march=native",

"-Wno-unused-variable",
Expand Down Expand Up @@ -154,7 +152,6 @@ project "tuple"
"../tuple/tuple.c"
}


project "range"
c_lib()
files {
Expand Down Expand Up @@ -188,16 +185,16 @@ project "closure"
project "party"
c_lib()
links { "future", "array" }
buildoptions {
"-fms-extensions",
}
files {
"../party/party.*",
}

project "future"
c_lib()
links { "closure", "array" }
buildoptions {
"-Wno-deprecated-declarations",
}
files {
"../future/future.c",
}
Expand Down

0 comments on commit f78ac6b

Please sign in to comment.