Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Dec 16, 2023
1 parent 74d3884 commit dc56c20
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ public WindowsTarget() {
cppFlags.add("-c");
cppFlags.add("-Wall");
cppFlags.add("-O2");
// cppFlags.add("-mfpmath=sse");
// cppFlags.add("-msse2");
// cppFlags.add("-fmessage-length=0");
// cppFlags.add("-m64");
//// cppFlags.add("-std=c++17");
// cppFlags.add("-Wno-unused-variable");
// cppFlags.add("-Wno-unused-but-set-variable");
cppFlags.add("-mfpmath=sse");
cppFlags.add("-msse2");
cppFlags.add("-fmessage-length=0");
cppFlags.add("-m64");
cppFlags.add("-std=c++17");
cppFlags.add("-Wno-unused-variable");
cppFlags.add("-Wno-unused-but-set-variable");
}

@Override
Expand All @@ -32,13 +32,13 @@ protected void setup(BuildConfig config) {
libSuffix = "64.a";
}
else {
// linkerFlags.add("-fPIC");
linkerFlags.add("-fPIC");
linkerFlags.add("-shared");
// linkerFlags.add("-static");
// linkerFlags.add("-static-libgcc");
// linkerFlags.add("-static-libstdc++");
// linkerFlags.add("-Wl,--kill-at");
// linkerFlags.add("-m64");
linkerFlags.add("-static");
linkerFlags.add("-static-libgcc");
linkerFlags.add("-static-libstdc++");
linkerFlags.add("-Wl,--kill-at");
linkerFlags.add("-m64");
libSuffix = "64.dll";
}

Expand Down

0 comments on commit dc56c20

Please sign in to comment.