]>
Commit | Line | Data |
---|---|---|
72e32bfb XL |
1 | #!/usr/bin/make -f |
2 | ||
3 | # output every command that modifies files on the build system. | |
4 | #export DH_VERBOSE = 1 | |
5 | ||
6 | include /usr/share/dpkg/buildflags.mk | |
7 | ||
35d797a3 XL |
8 | export WASM_NM = llvm-nm-13 |
9 | export WASM_AR = llvm-ar-13 | |
10 | export WASM_CC = clang-13 | |
0a89e6e5 XL |
11 | |
12 | # stack protector not yet supported, see | |
13 | # https://github.com/CraneStation/wasi-libc/issues/157 | |
14 | export WASM_CFLAGS = $(CFLAGS) $(LDFLAGS) -fno-stack-protector | |
72e32bfb XL |
15 | |
16 | %: | |
17 | dh $@ | |
18 | ||
19 | .PHONY: build | |
20 | build: | |
21 | dh $@ | |
22 | ||
23 | override_dh_auto_build: | |
24 | dh_auto_build -- finish | |
25 | ||
26 | override_dh_auto_install: | |
27 | dh_auto_install -- INSTALL_DIR=$(CURDIR)/debian/tmp/usr |