-
ceph (0.26~rc-1) experimental; urgency=low
* Make ceph x86 and x64 only due to dependency on architecture dependent
google-perftools (closes: #614890).
* Correct section of libcrush1, librados1, librbd1 and libceph1 to libs.
+ * Make Ceph cross buildable (closes: #618939), thanks to Hector Oron.
-- Laszlo Boszormenyi (GCS) <gcs@debian.hu> Mon, 21 Mar 2011 11:34:02 -0800
MAKEFLAGS += -j$(NUMJOBS)
endif
+export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+# Recommended snippet for Autoconf 2.52 or later
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+ confflags += --build $(DEB_HOST_GNU_TYPE)
+else
+ confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
configure: configure-stamp
configure-stamp:
dh_testdir
dh_testdir
./autogen.sh
- ./configure --prefix=/usr --sbindir=/sbin --localstatedir=/var --sysconfdir=/etc
+ ./configure --prefix=/usr --sbindir=/sbin --localstatedir=/var \
+ --sysconfdir=/etc $(confflags)
$(MAKE)
cp src/init-ceph debian/ceph.init
cp src/logrotate.conf debian/ceph.logrotate