[SCM] FreeCAD packaging branch, master, updated. debian/0.13.1830-dfsg-2-3-gcf6cb9f

Anton Gladky gladky.anton at gmail.com
Tue Jun 18 11:56:53 UTC 2013


The following commit has been merged in the master branch:
commit 71fd1c2bf48deaeabfb6bc1c9464ae06a9b73656
Author: Simon Ruderich <simon at ruderich.org>
Date:   Mon Jun 17 23:47:00 2013 +0200

    Hardening CPPFLAGS and LDFLAGS. (Closes: #711243)

diff --git a/debian/rules b/debian/rules
index 13572c8..d99dbe5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,9 +9,9 @@ DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 extra_flags += \
 -DFREECAD_BUILD_DEBIAN=ON \
--DCMAKE_CXX_FLAGS="-Wall -DHAVE_SWIG=1 -fpermissive $(shell dpkg-buildflags --get CXXFLAGS)" \
--DCMAKE_C_FLAGS="-Wall -fpermissive $(shell dpkg-buildflags --get CFLAGS)" \
--DCMAKE_SHARED_LINKER_FLAGS="-lrt $(shell dpkg-buildflags --get LDFLAGS)" \
+-DCMAKE_CXX_FLAGS="-Wall -DHAVE_SWIG=1 -fpermissive $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" \
+-DCMAKE_C_FLAGS="-Wall -fpermissive $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" \
+-DCMAKE_SHARED_LINKER_FLAGS="$(shell dpkg-buildflags --get LDFLAGS)" \
 -DINSTALL_RPATH="/usr/lib/freecad/lib" \
 -DCMAKE_INSTALL_PREFIX="/usr" \
 -DCMAKE_INSTALL_DATADIR="share/freecad" \

-- 
FreeCAD packaging



More information about the debian-science-commits mailing list