Fix cross builds
Andrej Shadura
2 years ago
0 | 0 | #!/usr/bin/make -f |
1 | 1 | |
2 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) | |
3 | DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) | |
2 | include /usr/share/dpkg/architecture.mk | |
4 | 3 | |
5 | ifeq ($(DEB_BUILD_ARCH),i386) | |
4 | ifeq ($(DEB_HOST_ARCH),i386) | |
6 | 5 | additional_confflags := --disable-sse2 |
7 | 6 | endif |
8 | 7 |