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

Klaus Zimmermann zklaus-guest at moszumanska.debian.org
Sat Oct 1 17:16:08 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 967fb7315b125732b6904ce2dfb33aa794259e74
Author: Klaus Zimmermann <klaus_zimmermann at gmx.de>
Date:   Thu Sep 22 15:54:29 2016 +0200

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

diff --git a/cf/um/umread/c-lib/Makefile b/cf/um/umread/c-lib/Makefile
index 98d0685..5ddbef1 100644
--- a/cf/um/umread/c-lib/Makefile
+++ b/cf/um/umread/c-lib/Makefile
@@ -5,8 +5,8 @@ LIBRARY=umfile.so
 CC=gcc
 CFLAGS=-Wall -fPIC -g
 CPP=gcc -E -P
-LD=ld
-LDFLAGS=-shared --build-id
+LD=gcc
+LDFLAGS=-shared
 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