Skip to content

Instantly share code, notes, and snippets.

@redj
Created May 6, 2019 18:40
Show Gist options
  • Save redj/1b290b6e645a76e8651ea1af3add412a to your computer and use it in GitHub Desktop.
Save redj/1b290b6e645a76e8651ea1af3add412a to your computer and use it in GitHub Desktop.
{
name = "winelumin",
targetPlatform = linux,
numJobs = 8,
makeCommand = "make",
ecpCommand = "ecp",
eccCommand = "ecc",
ecsCommand = "ecs",
earCommand = "ear",
cppCommand = "wine cmd /c $(LUMIN_SDK_ROOT)\\tools\\toolchains\\bin\\aarch64-linux-android-clang.cmd",
ccCommand = "wine cmd /c $(LUMIN_SDK_ROOT)/tools/toolchains/bin/aarch64-linux-android-clang.cmd",
cxxCommand = "wine cmd /c $(LUMIN_SDK_ROOT)/tools/toolchains/bin/aarch64-linux-android-clang++.cmd",
arCommand = "ar",
ldCommand = "-wine cmd /c $(LUMIN_SDK_ROOT)/tools/toolchains/bin/aarch64-linux-android-clang.cmd -Bdynamic",
sysroot = "$(LUMIN_SDK_ROOT)/lumin",
includeDirs = [
"$(LUMIN_SDK_ROOT)/include"
],
libraryDirs = [
"$(LUMIN_SDK_ROOT)/lumin/usr/lib",
"$(LUMIN_SDK_ROOT)/lib/lumin",
"$(LUMIN_SDK_ROOT)/lumin/stl/libc++/lib",
"$(ECERE_SDK_INST)/bin",
"$(ECERE_SDK_INST)/lib",
"$(GNOSIS_SDK_SRC)/obj/release.linux"
],
executableDirs = [
"$(LUMIN_SDK_ROOT)/internal/tools/mldb",
"$(LUMIN_SDK_ROOT)/tools/mldb",
"$(LUMIN_SDK_ROOT)",
"$(ECERE_SDK_SRC)/ecere/obj/debug.win32",
"$(ECERE_SDK_INST)/bin",
"$(GNOSIS_SDK_SRC)/obj/debug.win32",
"$(GNOSIS_SDK_SRC)/obj/release.linux"
],
environmentVars = [
{
name = "ECERE_SDK_INST",
string = "/usr"
},
{
name = "ECERE_SDK_SRC",
string = "/home/redj/c/e/e"
},
{
name = "GNOSIS_SDK_SRC",
string = "/home/redj/c/e/s/gnosis"
},
{
name = "LUMIN_SDK_ROOT",
string = "/home/redj/t/v0.20.0"
},
{
name = "ML_CERT_DIR",
string = "/home/redj/s/keys/ecere-magicleap"
},
{
name = "MABU",
string = "wine cmd /c '$(LUMIN_SDK_ROOT)/envsetup.bat && echo %PATH% && $(LUMIN_SDK_ROOT)/mabu.cmd"
},
{
name = "MABU_CLOSE",
string = "'"
},
{
name = "MLDB",
string = "mldb"
}
],
prepDirectives = [
"__LUMIN__"
],
compilerFlags = [
"-march=armv8-a",
"-mcpu=cortex-a57+crypto",
"-fPIE",
"-fpic",
"-ffunction-sections",
"-funwind-tables",
"-fstack-protector-strong",
"-no-canonical-prefixes",
"-Wa,--noexecstack",
"-Wformat",
"-Werror=format-security",
"-Wno-invalid-command-line-argument",
"-Wno-unused-command-line-argument",
"-fno-limit-debug-info"
],
linkerFlags = [
"--no-as-needed",
"-z,nocopyreloc",
"--warn-shared-textrel",
"--fatal-warnings",
"--build-id",
"-z,noexecstack",
"-z,relro",
"-z,now",
"--enable-new-dtags",
"-rpath=$ORIGIN",
"-g"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment