[SCM] Debian packaging for libntl - Number Theory Library branch, master, updated. 5c6aeeace057ff189b34f69c0826b5d631549dce

Lifeng Sun lifongsun at gmail.com
Tue Aug 9 14:19:31 UTC 2011


The following commit has been merged in the master branch:
commit 5c6aeeace057ff189b34f69c0826b5d631549dce
Author: Lifeng Sun <lifongsun at gmail.com>
Date:   Tue Aug 9 22:01:06 2011 +0800

    Add -fPIC to compile flags.
    
    Without -fPIC, linbox complains:
      checking whether NTL was built with -fPIC... no
      You must have NTL compiled with -fPIC for Sage interface

diff --git a/debian/rules b/debian/rules
index f573cf4..be14429 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,8 +13,8 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
         MAKEFLAGS += -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 endif
 
-CFLAGS += -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith # -Wextra
-CXXFLAGS += -Wall
+CFLAGS += -fPIC -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith # -Wextra
+CXXFLAGS += -fPIC -Wall
 
 build: build-arch-stamp
 build-arch: build-arch-stamp

-- 
Debian packaging for libntl - Number Theory Library



More information about the debian-science-commits mailing list