[Python-modules-commits] [cf-python] 05/09: Improve umread linking.

Klaus Zimmermann zklaus-guest at moszumanska.debian.org
Sat Oct 1 17:16:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

zklaus-guest pushed a commit to branch master-helper
in repository cf-python.

commit 0c95e47537f4a96c4ac8d445eb5f15f381e15fa8
Author: Klaus Zimmermann <klaus_zimmermann at gmx.de>
Date:   Thu Sep 22 15:15:39 2016 +0200

    Improve umread linking.
    
    Signed-off-by: Klaus Zimmermann <klaus_zimmermann at gmx.de>
---
 cf/um/umread/c-lib/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cf/um/umread/c-lib/Makefile b/cf/um/umread/c-lib/Makefile
index 98d0685..69e2984 100644
--- a/cf/um/umread/c-lib/Makefile
+++ b/cf/um/umread/c-lib/Makefile
@@ -5,7 +5,7 @@ LIBRARY=umfile.so
 CC=gcc
 CFLAGS=-Wall -fPIC -g
 CPP=gcc -E -P
-LD=ld
+LD=gcc
 LDFLAGS=-shared --build-id
 OBJS = umfile.o error.o filetype.o \
 	malloc.o linklist.o new_structs.o swap.o
@@ -28,7 +28,7 @@ type-dep:
 	$(MAKE) -C $(TYPE_DEP_DIR)
 
 $(LIBRARY): $(OBJS) type-dep
-	$(LD) $(LDFLAGS) -o $@ $(OBJS) --whole-archive $(TYPE_DEP_LIBRARY_PATH)
+	$(LD) $(LDFLAGS) -o $@ $(OBJS) -Wl,--whole-archive $(TYPE_DEP_LIBRARY_PATH) -Wl,--no-whole-archive
 
 %.o: %.c $(HEADERS)
 	$(CC) $(CFLAGS) -c $<

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/cf-python.git



More information about the Python-modules-commits mailing list