From f7f89a2ece36fd4a9d7b0a69e563832fff318035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Davi=20Ant=C3=B4nio=20da=20Silva=20Santos?= Date: Wed, 1 Mar 2023 23:33:37 -0300 Subject: Populate dbgsym packages with debug symbols Generate debug symbols by adding the `-g` flag to the `gcc` command and populate the dbgsym packages generated by the tooling with the required debug symbols. This fixes the following Lintian warnings: * boca-autojudge-dbgsym: debug-file-with-no-debug-symbols * boca-submission-tools-dbgsym: debug-file-with-no-debug-symbols --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6ec0a69..3675033 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ tools/safeexec: tools/safeexec.c - gcc tools/safeexec.c -o tools/safeexec + gcc -g tools/safeexec.c -o tools/safeexec tools/boca-submit-run-root-wrapper: tools/boca-submit-run-root-wrapper.c - gcc $^ -o $@ + gcc -g $^ -o $@ install-bocawww: mkdir -p $(DESTDIR)/usr/sbin $(DESTDIR)/etc/cron.d $(DESTDIR)/var/www/boca/ -- cgit v1.2.3