diff options
| author | 2016-03-19 16:09:00 +0100 | |
|---|---|---|
| committer | 2016-03-19 16:09:34 +0100 | |
| commit | 95a2e4c2c6b8bfa4262a4659ce3647aafaa323fb (patch) | |
| tree | da3bbff0aa0652c6943655a24a8ef3f700ba3f82 /scripts/toolchain.lua | |
| parent | 65906009904604247c3b0a5d09afdc1ba7432a43 (diff) | |
compile BGFX for RPI as well (nw)
Diffstat (limited to 'scripts/toolchain.lua')
| -rw-r--r-- | scripts/toolchain.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 072f4b214ea..408237d783e 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -531,9 +531,9 @@ function toolchain(_buildDir, _subDir) "$(RASPBERRY_SYSROOT)/opt/vc/include/interface/vcos/pthreads", "$(RASPBERRY_SYSROOT)/opt/vc/include/interface/vmcs_host/linux", } - links { - "rt", - } + defines { + "__VCCOREVER__=0x04000000", -- There is no special prefedined compiler symbol to detect RaspberryPi, faking it. + } linkoptions { "-Wl,--gc-sections", } |
