~james-page/ubuntu/vivid/ceph/0.93

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-12-08 12:36:51 UTC
  • Revision ID: package-import@ubuntu.com-20141208123651-ljcsrhg4sxg04rex
Tags: 0.87-0ubuntu2
d/rules: Limit rocksdb support to x86 + armhf, fixing FTBFS on
unsupported and broken architectures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
## do not build with lttng just yet, see #765842.
23
23
extraopts += --without-lttng
24
24
 
25
 
## build bundled RocksDB
26
 
extraopts += --with-librocksdb-static=check
 
25
rocksdb_archs = i386 amd64 armhf
 
26
ifneq (,$(filter $(DEB_HOST_ARCH), $(rocksdb_archs)))
 
27
  ## build bundled RocksDB
 
28
  extraopts += --with-librocksdb-static=check
 
29
endif
27
30
 
28
31
ifeq ($(DEB_HOST_ARCH), armel)
29
32
  # armel supports ARMv4t or above instructions sets.