diff options
Diffstat (limited to 'scripts/toolchain.lua')
-rw-r--r-- | scripts/toolchain.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 7fad61ce928..27b571e18d0 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -496,7 +496,9 @@ function toolchain(_buildDir, _subDir) configuration { "steamlink" } objdir ( _buildDir .. "steamlink/obj") - + defines { + "__STEAMLINK__=1", -- There is no special prefedined compiler symbol to detect SteamLink, faking it. + } buildoptions { "-marm", "-mfloat-abi=hard", |