[SCM] Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator. branch, master, updated. upstream/2.5.1_beta2_svn11604_dfsg-147-g946b2fd
Anton Gladky
gladky.anton at gmail.com
Fri Mar 23 18:49:45 UTC 2012
The following commit has been merged in the master branch:
commit 946b2fd48b4c726534c035f953f6af58a2ff848d
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Fri Mar 23 19:49:37 2012 +0100
Add -fPIC to CFLAGS and CXXFLAGS. Add dpkg-buildflags.
diff --git a/debian/rules b/debian/rules
index 516a2e4..0f3aaae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,10 @@ BUILDDIR = $(CURDIR)/debian/build
export OMPI_MCA_plm_rsh_agent=/bin/false #workaround to start MPI-applications in chroot
-extra_flags += -DCMAKE_CXX_FLAGS="-DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -fopenmp -lmpi" \
+extra_flags += \
+-DCMAKE_CXX_FLAGS="-DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -fopenmp -lmpi -fPIC\
+ -Wall $(shell dpkg-buildflags --get CXXFLAGS)"\
+-DCMAKE_C_FLAGS="-fPIC -Wall $(shell dpkg-buildflags --get CFLAGS)"\
-DCMAKE_INCLUDE_PATH:="/usr/include/mpi"\
-DENABLE_METIS:=OFF\
-DENABLE_TAUCS:=OFF\
@@ -39,7 +42,7 @@ override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build
dh_auto_build -- lib
- dh_auto_build -- shared
+ #dh_auto_build -- shared
# To avoid the texi2dvi pb add LC_ALL=C
dh_auto_build -- pdf html info LC_ALL=C
chrpath -d $(BUILDDIR)/wrappers/gmshpy/*.so
--
Gmsh packaging. Gmsh is an automatic 3D finite element mesh generator.
More information about the debian-science-commits
mailing list