Skip to content

Commit

Permalink
few changes
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Jan 20, 2024
1 parent 35e0ce6 commit 4eb1289
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ public IOSTarget() {
linkerCompiler.add(cppCompilerr);

cppFlags.add("-isysroot" + iphoneSimulatorSdk);
cppFlags.add("-c");
cppFlags.add("-arch x86_64");
cppFlags.add("-mios-simulator-version-min=" + minIOSVersion);
cppFlags.add("-d");
cppFlags.add("-c");

cppFlags.add("-Wall");
cppFlags.add("-O2");
cppFlags.add("-stdlib=libc++");
Expand Down Expand Up @@ -58,6 +60,9 @@ protected void setup(BuildConfig config) {
libSuffix = "64.a";
}
else {
linkerFlags.add("-isysroot" + iphoneSimulatorSdk);
linkerFlags.add("-arch x86_64");
linkerFlags.add("-mios-simulator-version-min=" + minIOSVersion);
linkerFlags.add("-shared");
linkerFlags.add("-stdlib=libc++");
libSuffix = "";
Expand Down

0 comments on commit 4eb1289

Please sign in to comment.