mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
dev-util/lua-language-server: Update patch to not link against stdc++fs
Signed-off-by: Mathis Winterer <mrmagic223325@fedora.email>
This commit is contained in:
parent
16dfc71df3
commit
fc85a85a81
@ -59,7 +59,7 @@
|
|||||||
deps = gcc
|
deps = gcc
|
||||||
depfile = $out.d
|
depfile = $out.d
|
||||||
build $obj/source_lua/linit.obj: c_source_lua_1 bee.lua/3rd/lua/linit.c
|
build $obj/source_lua/linit.obj: c_source_lua_1 bee.lua/3rd/lua/linit.c
|
||||||
@@ -95,7 +95,7 @@
|
@@ -95,15 +95,15 @@
|
||||||
rule cxx_source_bootstrap
|
rule cxx_source_bootstrap
|
||||||
command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $
|
command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $
|
||||||
-fvisibility=hidden -Ibee.lua/3rd/lua -Ibee.lua -DLUA_USE_LINUX $
|
-fvisibility=hidden -Ibee.lua/3rd/lua -Ibee.lua -DLUA_USE_LINUX $
|
||||||
@ -68,11 +68,12 @@
|
|||||||
description = Compile C++ $out
|
description = Compile C++ $out
|
||||||
deps = gcc
|
deps = gcc
|
||||||
depfile = $out.d
|
depfile = $out.d
|
||||||
@@ -103,7 +103,7 @@
|
build $obj/source_bootstrap/main.obj: cxx_source_bootstrap $
|
||||||
bee.lua/bootstrap/main.cpp
|
bee.lua/bootstrap/main.cpp
|
||||||
rule link_bootstrap
|
rule link_bootstrap
|
||||||
command = $cc $in -o $out -Wl,-E -static-libgcc -lm -ldl -lstdc++fs $
|
- command = $cc $in -o $out -Wl,-E -static-libgcc -lm -ldl -lstdc++fs $
|
||||||
- -pthread -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -s
|
- -pthread -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -s
|
||||||
|
+ command = $cc $in -o $out -Wl,-E -static-libgcc -lm -ldl $
|
||||||
+ -pthread -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic LDFLAGS
|
+ -pthread -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic LDFLAGS
|
||||||
description = Link Exe $out
|
description = Link Exe $out
|
||||||
build $bin/bootstrap: link_bootstrap $obj/source_bootstrap/main.obj $
|
build $bin/bootstrap: link_bootstrap $obj/source_bootstrap/main.obj $
|
||||||
|
Loading…
x
Reference in New Issue
Block a user