]> git.proxmox.com Git - wasi-libc.git/blame - debian/rules
Update to LLVM 13, same as rust
[wasi-libc.git] / debian / rules
CommitLineData
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
6include /usr/share/dpkg/buildflags.mk
7
35d797a3
XL
8export WASM_NM = llvm-nm-13
9export WASM_AR = llvm-ar-13
10export WASM_CC = clang-13
0a89e6e5
XL
11
12# stack protector not yet supported, see
13# https://github.com/CraneStation/wasi-libc/issues/157
14export WASM_CFLAGS = $(CFLAGS) $(LDFLAGS) -fno-stack-protector
72e32bfb
XL
15
16%:
17 dh $@
18
19.PHONY: build
20build:
21 dh $@
22
23override_dh_auto_build:
24 dh_auto_build -- finish
25
26override_dh_auto_install:
27 dh_auto_install -- INSTALL_DIR=$(CURDIR)/debian/tmp/usr