mcst-linux-kernel/patches-2024.06.26/libprelude-5.2.0/0002-Prevent-cross-paths-fr...

15 lines
1.0 KiB
Diff

Link:
Subject: not use "-g" option to prevent cross-paths from getting into libs
Tags: cross
--- a/bindings/python/setup.py.in 2021-04-02 21:20:30.492195680 +0300
+++ b/bindings/python/setup.py.in 2021-04-02 21:21:42.589809284 +0300
@@ -113,6 +113,6 @@
py_modules=["prelude"],
ext_modules=[Extension("_prelude",
["_prelude.cxx"],
- extra_compile_args=split_args("-I@top_builddir@ -I@top_srcdir@/src/include -I@top_builddir@/src/include -I@top_builddir@/src/libprelude-error -I@top_srcdir@/bindings/c++/include"),
+ extra_compile_args=split_args("-g0 -I@top_builddir@ -I@top_srcdir@/src/include -I@top_builddir@/src/include -I@top_builddir@/src/libprelude-error -I@top_srcdir@/bindings/c++/include"),
library_dirs=[ "@top_builddir@/src/.libs/", "@top_builddir@/bindings/c++/.libs/" ],
extra_link_args=split_args("-lpreludecpp -lprelude @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@"))])