aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorhaorenW1025 <whz861025@gmail.com>2020-04-23 13:48:20 +0800
committerhaorenW1025 <whz861025@gmail.com>2020-04-23 13:48:20 +0800
commiteb0f9b9e23f10d8988e5426362236123aba81964 (patch)
treedaebdb04c94390f8fb4f1a0029ec3ff3e3c529de /lua
parentMerge pull request #7 from vigoux/feature/highlight (diff)
downloadnvim-treesitter-eb0f9b9e23f10d8988e5426362236123aba81964.tar
nvim-treesitter-eb0f9b9e23f10d8988e5426362236123aba81964.tar.gz
nvim-treesitter-eb0f9b9e23f10d8988e5426362236123aba81964.tar.bz2
nvim-treesitter-eb0f9b9e23f10d8988e5426362236123aba81964.tar.lz
nvim-treesitter-eb0f9b9e23f10d8988e5426362236123aba81964.tar.xz
nvim-treesitter-eb0f9b9e23f10d8988e5426362236123aba81964.tar.zst
nvim-treesitter-eb0f9b9e23f10d8988e5426362236123aba81964.zip
fix: add -fPIC flag to compiling
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/install.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua
index fcad58912..b00d3d773 100644
--- a/lua/nvim-treesitter/install.lua
+++ b/lua/nvim-treesitter/install.lua
@@ -77,6 +77,7 @@ local function run_install(cache_folder, package_path, ft, repo)
'parser.so',
'-shared',
'-lstdc++',
+ '-fPIC',
'-Os',
'-I./src',
repo.files