]> git.proxmox.com Git - wasi-libc.git/blob - debian/rules
Update upstream source from tag 'upstream/0.0_git20221206.8b7148f'
[wasi-libc.git] / debian / rules
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
8 export NM = llvm-nm-14
9 export AR = llvm-ar-14
10 export CC = clang-14
11
12 # stack protector not yet supported, see
13 # https://github.com/CraneStation/wasi-libc/issues/157
14 export EXTRA_CFLAGS = $(CFLAGS) $(LDFLAGS) -fno-stack-protector
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