79650f0c4c
Applied patch to qrexec Makefile to prevent compile failure on warnings qrexec: Disable all warnings being treated as errors gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -g -Wall -Wextra -Werror -pie -fPIC `pkg-config --cflags vchan-xen` -D_FORTIFY_SOURCE=2 -c -o qrexec-agent-data.o qrexec-agent-data.c qrexec-agent-data.c: In function 'handle_remote_data': qrexec-agent-data.c:217:17: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] status = *(unsigned int *)buf; ^ cc1: all warnings being treated as errors <builtin>: recipe for target 'qrexec-agent-data.o' failed
27 lines
526 B
Makefile
Executable File
27 lines
526 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
include /usr/share/dpkg/default.mk
|
|
|
|
export DESTDIR=$(shell pwd)/debian/qubes-core-agent
|
|
|
|
%:
|
|
dh $@ --with systemd --with autotools-dev
|
|
|
|
override_dh_auto_build:
|
|
make all
|
|
|
|
override_dh_auto_install:
|
|
make install-common install-deb install-systemd
|
|
make -C qrexec install
|
|
|
|
override_dh_fixperms:
|
|
dh_fixperms -a -Xqfile-unpacker
|
|
|
|
override_dh_systemd_start:
|
|
dh_systemd_start --no-restart-on-upgrade
|