summarylogtreecommitdiffstats
path: root/0072-pass-gen-profile-ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to '0072-pass-gen-profile-ldflags.patch')
-rw-r--r--0072-pass-gen-profile-ldflags.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0072-pass-gen-profile-ldflags.patch b/0072-pass-gen-profile-ldflags.patch
new file mode 100644
index 000000000000..6d623b02ec36
--- /dev/null
+++ b/0072-pass-gen-profile-ldflags.patch
@@ -0,0 +1,29 @@
+From 6e6cac92a946334a81bb08adbc54902d428b2dc5 Mon Sep 17 00:00:00 2001
+From: Christoph Reiter <reiter.christoph@gmail.com>
+Date: Thu, 17 Jun 2021 18:52:27 +0530
+Subject: [PATCH 072/N] pass gen profile ldflags
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Co-authored-by: Алексей <alexey.pawlow@gmail.com>
+---
+ Makefile.pre.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.pre.in b/Makefile.pre.in
+index afeee0e..2018514 100644
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -726,7 +726,7 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
+ $(DLLLIBRARY) libpython$(LDVERSION).dll.a: $(LIBRARY_OBJS) python_nt.o
+ if test -n "$(DLLLIBRARY)"; then \
+ $(LDSHARED) -Wl,--out-implib=$@ -o $(DLLLIBRARY) $^ \
+- $(LIBS) $(MODLIBS) $(SYSLIBS) python_nt.o; \
++ $(LIBS) $(LDFLAGS_NODIST) $(MODLIBS) $(SYSLIBS) python_nt.o; \
+ else true; \
+ fi
+
+--
+2.33.0
+