Commit 90552d2c authored by Bernhard Link's avatar Bernhard Link

avoid entering cross-mode on native builds

parent 5cdb9472
......@@ -2,8 +2,9 @@ gv (1:3.7.3.90-1) experimental; urgency=low
* new upstream prerelease
* Bump Standards-Version
* avoid entering cross-mode on native builds
-- Bernhard R. Link <brlink@debian.org> Sun, 01 Apr 2012 14:37:45 +0200
-- Bernhard R. Link <brlink@debian.org> Sun, 01 Apr 2012 14:45:11 +0200
gv (1:3.7.3-1) unstable; urgency=low
......
#!/usr/bin/make -f
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
BUILD_SYSTEM = --build $(DEB_BUILD_GNU_TYPE)
else
BUILD_SYSTEM = --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
CONFFLAGS = --enable-scrollbar-code --enable-signal-handler --without-libzio \
--disable-setenv-code --enable-off_t --enable-largefile
# some flags need to be given to make:
......@@ -46,7 +51,7 @@ config.status: configure
cp -f /usr/share/misc/config.sub config.sub
# touch files to avoid recreating files in case of timestamp issues
touch src/gv-i18n.h doc/gv.1
./configure --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) \
./configure $(BUILD_SYSTEM) \
$(CONFFLAGS) CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' \
LDFLAGS='$(LDFLAGS)' \
--bindir=/usr/bin --datarootdir=/usr/share \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment