[med-svn] r12757 - trunk/packages/dicom3tools/trunk/debian
Mathieu Malaterre
malat at alioth.debian.org
Wed Jan 9 11:45:00 UTC 2013
Author: malat
Date: 2013-01-09 11:45:00 +0000 (Wed, 09 Jan 2013)
New Revision: 12757
Modified:
trunk/packages/dicom3tools/trunk/debian/rules
Log:
Try to pass LDFLAGS
Modified: trunk/packages/dicom3tools/trunk/debian/rules
===================================================================
--- trunk/packages/dicom3tools/trunk/debian/rules 2013-01-09 11:14:43 UTC (rev 12756)
+++ trunk/packages/dicom3tools/trunk/debian/rules 2013-01-09 11:45:00 UTC (rev 12757)
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
+include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS)
CXXFLAGS+=$(CPPFLAGS)
@@ -30,14 +31,14 @@
find . -name \*.awk -exec sed -i -e 's@/dev/tty@/dev/stderr at g' {} \;
# Add here commands to configure the package.
sh Configure
- imake -I./config -DTmpPath=/tmp -DOptimizeLevel=$(OPT_FLAGS) $(IMAKEFLAGS)
+ imake -I./config -DTmpPath=/tmp -DOptimizeLevel=-O2 $(IMAKEFLAGS)
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
- $(MAKE) World "C_DEBUGFLAGS=$(CFLAGS)" "CPLUSPLUS_DEBUGFLAGS=$(CXXFLAGS)"
+ $(MAKE) World C_DEBUGFLAGS="$(CFLAGS)" CPLUSPLUS_DEBUGFLAGS="$(CXXFLAGS)" C_EXTRA_LOAD_FLAGS="$(LDFLAGS)" CPLUSPLUS_EXTRA_LOAD_FLAGS="$(LDFLAGS)"
touch $@
clean:
More information about the debian-med-commit
mailing list