mirror of
https://github.com/libretro/libretro-puzzlescript.git
synced 2026-11-07 11:16:01 -10:00
Fix minor build issues related to using old Ubuntu to build. Add option to use precompiled font.js, Pillow was not working properly in old Python versions.
25 lines
717 B
Plaintext
25 lines
717 B
Plaintext
# Optional:
|
|
# target_cpu = "arm"
|
|
|
|
if (target_cpu == "arm") {
|
|
set_default_toolchain("//build/toolchains:arm")
|
|
} else {
|
|
set_default_toolchain("//build/toolchains:gcc")
|
|
}
|
|
|
|
declare_args() {
|
|
# Set to root of linaro toolchain directory that contains sysroot and gcc subdirs
|
|
linaro = "~/linaro"
|
|
|
|
# Include debug symbols in final core for use in gdb etc.
|
|
include_symbols = true
|
|
|
|
# Enable runtime checks of C++ standard library (vector indexing etc.)
|
|
# Use this to find where memory gets corrupted
|
|
debug_cxxstdlib = false
|
|
|
|
# Use pregenerated font.js file instead of using Pillow and the actual font
|
|
# (Workaround python bugs in old distributions)
|
|
use_precompiled_font = false
|
|
}
|