Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions bld/cb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,11 @@ IList<string> libs
case "x64":
compiler = "gcc";
tw.Write(" -m64\n");
tw.Write(" -msse4.2\n");
tw.Write(" -maes\n");
break;

case "x86":
compiler = "gcc";
tw.Write(" -m32\n");
tw.Write(" -msse4.2\n");
tw.Write(" -maes\n");
break;

case "arm64":
Expand Down Expand Up @@ -184,8 +180,6 @@ IList<string> libs
case "musl-x64":
compiler = "musl-gcc";
tw.Write(" -m64\n");
tw.Write(" -msse4.2\n");
tw.Write(" -maes\n");
break;

case "musl-armhf":
Expand Down Expand Up @@ -279,8 +273,6 @@ IList<string> libs
tw.Write("LOCAL_MODULE := lib{0}\n", libname);
tw.Write("LOCAL_MODULE_FILENAME := lib{0}\n", libname);
tw.Write("LOCAL_CFLAGS := -O {0}\n", string.Join(" ", defs));
tw.Write("ifeq ($(TARGET_ARCH_ABI),x86)\nLOCAL_CFLAGS += -maes -msse4.2\nendif\n");
tw.Write("ifeq ($(TARGET_ARCH_ABI),x86_64)\nLOCAL_CFLAGS += -maes -msse4.2\nendif\n");
tw.Write("LOCAL_LDFLAGS += \"-Wl,-z,max-page-size=16384\"\n");
tw.Write("LOCAL_LDLIBS := -llog\n");
if (includes.Count > 0)
Expand Down Expand Up @@ -471,11 +463,6 @@ IList<string> libs
tw.Write(" -target x86_64-apple-ios-macabi");
tw.Write(" -mmacosx-version-min=10.14");
tw.Write(" -arch {0}", arch);
if (arch == "x86_64" )
{
tw.Write(" -msse4.2");
tw.Write(" -maes");
}
tw.Write(" -framework Security");
foreach (var d in defines.Keys.OrderBy(q => q))
{
Expand Down Expand Up @@ -533,11 +520,6 @@ IList<string> libs
tw.Write(" -O");
tw.Write(" -mmacosx-version-min=10.14");
tw.Write(" -arch {0}", arch);
if (arch == "x86_64" )
{
tw.Write(" -msse4.2");
tw.Write(" -maes");
}
tw.Write(" -framework Security");
foreach (var d in defines.Keys.OrderBy(q => q))
{
Expand Down Expand Up @@ -611,11 +593,6 @@ IList<string> libs
tw.Write(" -O");
tw.Write(" -mmacosx-version-min=10.14");
tw.Write(" -arch {0}", arch);
if (arch == "x86_64" )
{
tw.Write(" -msse4.2");
tw.Write(" -maes");
}
tw.Write(" -framework Security");
foreach (var d in defines.Keys.OrderBy(q => q))
{
Expand Down Expand Up @@ -706,11 +683,6 @@ IList<string> libs
tw.Write(" clang");
tw.Write(" -O");
tw.Write(" -arch {0}", arch);
if (arch == "i386" || arch == "x86_64" )
{
tw.Write(" -msse4.2");
tw.Write(" -maes");
}
tw.Write(" -framework Security");
tw.Write(" -fembed-bitcode");
foreach (var d in defines.Keys.OrderBy(q => q))
Expand Down Expand Up @@ -786,11 +758,6 @@ string[] arches
else
tw.Write(" -miphoneos-version-min=6.0");
tw.Write(" -arch {0}", arch);
if (arch == "i386" || arch == "x86_64" )
{
tw.Write(" -msse4.2");
tw.Write(" -maes");
}
tw.Write(" -framework Security");
foreach (var d in defines.Keys.OrderBy(q => q))
{
Expand Down