i2pd/debian/rules
R4SAS 4d2c0a68ae
[deb] clang build
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2023-04-19 19:58:14 +00:00

26 lines
570 B
Makefile
Executable file

#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/architecture.mk
export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND =
export CC=clang
export CXX=clang++
%:
dh $@ --buildsystem=cmake
override_dh_auto_clean:
dh_auto_clean --buildsystem=cmake --sourcedirectory=build/
override_dh_auto_configure:
dh_auto_configure --buildsystem=cmake --sourcedirectory=build/ -- \
-DWITH_UPNP=ON
override_dh_auto_build:
dh_auto_build --buildsystem=cmake
override_dh_auto_install: