Fix FTCBFS: fix build/host confusion
Closes: #902575
Thanks: Helmut Grohne for the patch
Gabor Karsay
5 years ago
0 | 0 |
#!/usr/bin/make -f
|
1 | 1 |
|
2 | |
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
|
2 |
include /usr/share/dpkg/architecture.mk
|
3 | 3 |
|
4 | |
ifneq (,$(findstring amd64,$(DEB_BUILD_ARCH)))
|
|
4 |
ifneq (,$(findstring amd64,$(DEB_HOST_ARCH)))
|
5 | 5 |
DEB_CONFIGURE_FLAGS_EXTRA=--enable-arch=amd64
|
6 | 6 |
endif
|
7 | 7 |
|