summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 66b53d104df8954cac24369589cc023e575f9c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

include /usr/share/dpkg/buildflags.mk

export NM = llvm-nm-14
export AR = llvm-ar-14
export CC = clang-14

export EXTRA_CFLAGS = $(CFLAGS) $(LDFLAGS) -fcf-protection=none

%:
	dh $@

.PHONY: build
build:
	dh $@

override_dh_auto_build:
	dh_auto_build -- finish

override_dh_auto_install:
	dh_auto_install -- INSTALL_DIR=$(CURDIR)/debian/tmp/usr