d/rules: Pass necessary variables for cross build to make_unix.sh
Nilesh Patra
3 years ago
1 | 1 | |
2 | 2 | DPKG_EXPORT_BUILDFLAGS = 1 |
3 | 3 | -include /usr/share/dpkg/buildflags.mk |
4 | include /usr/share/dpkg/buildtools.mk | |
4 | 5 | |
5 | 6 | %: |
6 | 7 | dh $@ |
9 | 10 | # nothing to do |
10 | 11 | |
11 | 12 | override_dh_auto_build: |
12 | sh make_unix.sh | |
13 | CC_FOR_BUILD=$(CC_FOR_BUILD) CC=$(CC) PKG_CONFIG=$(PKG_CONFIG) sh make_unix.sh | |
13 | 14 | python3 scripts/gendocs.py |
14 | 15 | |
15 | 16 | override_dh_auto_install: |