[SCM] an open source computer algebra system branch, debian, updated. b5948886dfedc65056586a6e55ce337f5eca2001

Bernhard R. Link brlink at debian.org
Mon Mar 5 20:05:35 UTC 2012


The following commit has been merged in the debian branch:
commit 60cf0bea363ed22c4e47341649c5bee9bb7e391b
Author: Bernhard R. Link <brlink at debian.org>
Date:   Mon Mar 5 20:41:45 2012 +0100

    also pass the proper flags when linking the main library and dynamic plugins

diff --git a/debian/rules b/debian/rules
index 4ea4ae3..af0f783 100755
--- a/debian/rules
+++ b/debian/rules
@@ -177,7 +177,7 @@ build build-arch: build-stamp
 EXAMPLE_EXCLUDE=-exclude MP -exclude gfan -exclude normaliz -exclude sing4ti2 -exclude memory -exclude dynlib
 
 build-stamp: configure-stamp
-	$(MAKE) LD='$(CXX)' LIBSINGULAR_FLAGS='-shared -Wl,-soname,libsingular-$(VERSION).so $(LDFLAGS) -L../omalloc' LD_DYN_FLAGS2='' DL_LIBSG='' GLIBC_DYN_FIX="-lc"
+	$(MAKE) LD='$(CXX) $(CXXFLAGS) -fPIC $(LDFLAGS)' LIBSINGULAR_FLAGS='-shared -Wl,-soname,libsingular-$(VERSION).so $(CXXFLAGS) -fPIC $(LDFLAGS) -L../omalloc' LD_DYN_FLAGS2='' DL_LIBSG='' GLIBC_DYN_FIX="-lc"
 	$(MAKE) -C Singular libparse
 	cd Singular && ln -sf ../kernel/p_*.so .
 	mkdir -p debian/lddir && ln -sf ../../Singular/libsingular.so debian/lddir/libsingular-$(VERSION).so

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list