From 05214ecda55d379894a1a91d56c1863268b41c73 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 15 Feb 2016 12:06:56 +0100 Subject: small addition for steamlink (nw) --- scripts/toolchain.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/toolchain.lua') 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", -- cgit v1.2.3-70-g09d2