google-perftools (closes: #614890).
* Correct section of libcrush1, librados1, librbd1 and libceph1 to libs.
* Make Ceph cross buildable (closes: #618939), thanks to Hector Oron.
+ * Disable libatomic-ops on ARMv4t (armel) archs to prevent FTBFS
+ (closes: #615235), thanks go to Hector Oron again.
-- Laszlo Boszormenyi (GCS) <gcs@debian.hu> Mon, 21 Mar 2011 11:34:02 -0800
confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
+export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifeq ($(DEB_HOST_ARCH), armel)
+ # armel supports ARMv4t or above instructions sets.
+ # libatomic-ops is only usable with Ceph for ARMv6 or above.
+ extraopts += --without-libatomic-ops
+endif
+
configure: configure-stamp
configure-stamp:
dh_testdir
./autogen.sh
./configure --prefix=/usr --sbindir=/sbin --localstatedir=/var \
- --sysconfdir=/etc $(confflags)
+ --sysconfdir=/etc $(extraopts) $(confflags)
$(MAKE)
cp src/init-ceph debian/ceph.init
cp src/logrotate.conf debian/ceph.logrotate