From e2981f89122e5cd812b36eddb4ff242e5a77c5c8 Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Thu, 20 Mar 2008 13:46:50 -0700 Subject: this is an architecture independent package so, remove the architecture specific configuration tests to speed-up build --- debian/rules | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index f2e5c13..4db6686 100755 --- a/debian/rules +++ b/debian/rules @@ -9,30 +9,13 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 - -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) PACKAGE=vyatta-op PKGDIR=$(CURDIR)/debian/$(PACKAGE) -CFLAGS = -Wall -g - configure = ./configure -configure += --host=$(DEB_HOST_GNU_TYPE) -configure += --build=$(DEB_BUILD_GNU_TYPE) configure += --prefix=/opt/vyatta configure += --mandir=\$${prefix}/share/man configure += --infodir=\$${prefix}/share/info -configure += CFLAGS="$(CFLAGS)" -configure += LDFLAGS="-Wl,-z,defs" - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif configure: configure.ac Makefile.am chmod +x debian/autogen.sh @@ -84,8 +67,6 @@ binary-indep: build install dh_installdocs dh_install dh_installdebconf - dh_link - dh_strip dh_compress dh_fixperms dh_installdeb -- cgit v1.2.3