summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/bcsave.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-08-25 09:19:35 +0800
committerruki <[email protected]>2019-08-25 09:19:35 +0800
commit6514385571fc00e18535a2f2e054177d91f867be (patch)
treeb97f5c11ccb573f2e968eadb3fdfbab4b7254ed8 /xmake/modules/private/utils/bcsave.lua
parent03bbbd76be1ef10d993ac472d1a01ce55b88bee4 (diff)
improve display pathes
Diffstat (limited to 'xmake/modules/private/utils/bcsave.lua')
-rw-r--r--xmake/modules/private/utils/bcsave.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/bcsave.lua b/xmake/modules/private/utils/bcsave.lua
index 9310180b4..27e7dabd9 100644
--- a/xmake/modules/private/utils/bcsave.lua
+++ b/xmake/modules/private/utils/bcsave.lua
@@ -64,7 +64,8 @@ function save(sourcedir, outputdir, opt)
local bcfile = override and os.tmpfile() or path.join(outputdir, relativepath)
-- generate bitcode file
- bcsave(luafile, bcfile, {strip = opt.strip, displaypath = displaypath})
+ -- @note we disable cache to ensure all display pathes are correct
+ bcsave(luafile, bcfile, {strip = opt.strip, displaypath = displaypath, nocache = true})
-- trace
local luasize = os.filesize(luafile)