|
@@ -194,6 +194,7 @@ function toolchain(_buildDir, _libDir)
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
flags {
|
|
flags {
|
|
|
|
|
+ "Cpp11",
|
|
|
"ExtraWarnings",
|
|
"ExtraWarnings",
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -644,9 +645,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
"-Wunused-value",
|
|
"-Wunused-value",
|
|
|
"-Wundef",
|
|
"-Wundef",
|
|
|
}
|
|
}
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
linkoptions {
|
|
linkoptions {
|
|
|
"-Wl,--gc-sections",
|
|
"-Wl,--gc-sections",
|
|
|
"-static",
|
|
"-static",
|
|
@@ -734,9 +732,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
"-Wundef",
|
|
"-Wundef",
|
|
|
-- "-Wuseless-cast",
|
|
-- "-Wuseless-cast",
|
|
|
}
|
|
}
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
links {
|
|
links {
|
|
|
"rt",
|
|
"rt",
|
|
|
"dl",
|
|
"dl",
|
|
@@ -786,9 +781,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
"-Wunused-value",
|
|
"-Wunused-value",
|
|
|
"-Wundef",
|
|
"-Wundef",
|
|
|
}
|
|
}
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
links {
|
|
links {
|
|
|
"rt",
|
|
"rt",
|
|
|
"dl",
|
|
"dl",
|
|
@@ -805,9 +797,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
"-Wunused-value",
|
|
"-Wunused-value",
|
|
|
"-Wundef",
|
|
"-Wundef",
|
|
|
}
|
|
}
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
links {
|
|
links {
|
|
|
"rt",
|
|
"rt",
|
|
|
"dl",
|
|
"dl",
|
|
@@ -846,9 +835,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
"-Wunused-value",
|
|
"-Wunused-value",
|
|
|
"-Wundef",
|
|
"-Wundef",
|
|
|
}
|
|
}
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
linkoptions {
|
|
linkoptions {
|
|
|
"-no-canonical-prefixes",
|
|
"-no-canonical-prefixes",
|
|
|
"-Wl,--no-undefined",
|
|
"-Wl,--no-undefined",
|
|
@@ -866,7 +852,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
"__STEAMLINK__=1", -- There is no special prefedined compiler symbol to detect SteamLink, faking it.
|
|
"__STEAMLINK__=1", -- There is no special prefedined compiler symbol to detect SteamLink, faking it.
|
|
|
}
|
|
}
|
|
|
buildoptions {
|
|
buildoptions {
|
|
|
- "-std=c++11",
|
|
|
|
|
"-Wfatal-errors",
|
|
"-Wfatal-errors",
|
|
|
"-Wunused-value",
|
|
"-Wunused-value",
|
|
|
"-Wundef",
|
|
"-Wundef",
|
|
@@ -981,9 +966,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
"-Wunused-value",
|
|
"-Wunused-value",
|
|
|
"-Wundef",
|
|
"-Wundef",
|
|
|
}
|
|
}
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
configuration { "freebsd" }
|
|
configuration { "freebsd" }
|
|
|
targetdir (path.join(_buildDir, "freebsd/bin"))
|
|
targetdir (path.join(_buildDir, "freebsd/bin"))
|
|
@@ -1041,12 +1023,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
objdir (path.join(_buildDir, "osx_universal/bin"))
|
|
objdir (path.join(_buildDir, "osx_universal/bin"))
|
|
|
|
|
|
|
|
configuration { "osx" }
|
|
configuration { "osx" }
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
- buildoptions_objcpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
buildoptions {
|
|
buildoptions {
|
|
|
"-Wfatal-errors",
|
|
"-Wfatal-errors",
|
|
|
"-msse2",
|
|
"-msse2",
|
|
@@ -1059,12 +1035,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
linkoptions {
|
|
linkoptions {
|
|
|
"-lc++",
|
|
"-lc++",
|
|
|
}
|
|
}
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
- buildoptions_objcpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
buildoptions {
|
|
buildoptions {
|
|
|
"-Wfatal-errors",
|
|
"-Wfatal-errors",
|
|
|
"-Wunused-value",
|
|
"-Wunused-value",
|
|
@@ -1207,9 +1177,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
"$(SCE_ORBIS_SDK_DIR)/target/include",
|
|
"$(SCE_ORBIS_SDK_DIR)/target/include",
|
|
|
"$(SCE_ORBIS_SDK_DIR)/target/include_common",
|
|
"$(SCE_ORBIS_SDK_DIR)/target/include_common",
|
|
|
}
|
|
}
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
configuration { "rpi" }
|
|
configuration { "rpi" }
|
|
|
targetdir (path.join(_buildDir, "rpi/bin"))
|
|
targetdir (path.join(_buildDir, "rpi/bin"))
|
|
@@ -1226,9 +1193,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
"-Wunused-value",
|
|
"-Wunused-value",
|
|
|
"-Wundef",
|
|
"-Wundef",
|
|
|
}
|
|
}
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
includedirs {
|
|
includedirs {
|
|
|
"/opt/vc/include",
|
|
"/opt/vc/include",
|
|
|
"/opt/vc/include/interface/vcos/pthreads",
|
|
"/opt/vc/include/interface/vcos/pthreads",
|
|
@@ -1258,9 +1222,6 @@ function toolchain(_buildDir, _libDir)
|
|
|
"-Wundef",
|
|
"-Wundef",
|
|
|
"--sysroot=$(FREEDOM_E_SDK)/toolchain/riscv32-unknown-elf",
|
|
"--sysroot=$(FREEDOM_E_SDK)/toolchain/riscv32-unknown-elf",
|
|
|
}
|
|
}
|
|
|
- buildoptions_cpp {
|
|
|
|
|
- "-std=c++11",
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
configuration {} -- reset configuration
|
|
configuration {} -- reset configuration
|
|
|
|
|
|