diff options
author | 2016-02-15 12:06:56 +0100 | |
---|---|---|
committer | 2016-02-15 12:06:56 +0100 | |
commit | 05214ecda55d379894a1a91d56c1863268b41c73 (patch) | |
tree | 6076acc258070ebecd429fabd2cc10e8da6a2001 /scripts/toolchain.lua | |
parent | 5772715d6314a7b2a21c4aa030c0aa9f785044a6 (diff) |
small addition for steamlink (nw)
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", |