summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b2d76a6)
raw | patch | inline | side by side (parent: b2d76a6)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 25 Sep 2009 12:03:46 +0000 (14:03 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 25 Sep 2009 12:03:46 +0000 (14:03 +0200) |
… to check for the build host.
debian/changelog | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index e9fac989c17e7b9dd9ecdcfd0b5fd366e1f30e48..a1ad6bf4ab82137ca7a2a6e90d2c68275b9f8eb2 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
* debian/rules:
- Remove config.h in the 'clean' target - this is created by configure but
not cleaned up by any Makefile.
+ - Use DEB_HOST_ARCH_CPU instead of DEB_HOST_GNU_TYPE to check for the
+ build host.
* debian/patches:
- Removed bts494874-gnu-kfreebsd - included upstream.
- Removed bts332766-negative-timestamps - included upstream.
* Added debian/README.source:
- The file includes a pointer to /usr/share/doc/quilt/README.source.
- -- Sebastian Harl <tokkee@debian.org> Fri, 25 Sep 2009 13:57:40 +0200
+ -- Sebastian Harl <tokkee@debian.org> Fri, 25 Sep 2009 14:03:11 +0200
rrdtool (1.3.8-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 73678ee33782c5714805011abb01d813641ceb34..1a361eb3805b661886be378ad29a8f86de097af4 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
#let's help configure to figure out our host/build system
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
CONFFLAGS += --build $(DEB_HOST_GNU_TYPE)
else
CFLAGS += -O0
else
#don't optimize on arm for now - #447041
-ifneq ($(DEB_HOST_GNU_TYPE), arm)
+ifneq ($(DEB_HOST_ARCH_CPU), arm)
CFLAGS += -O2
endif
endif