aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavi Antônio da Silva Santos <antoniossdavi@gmail.com>2023-03-02 02:33:37 +0000
committerDavi Antônio da Silva Santos <antoniossdavi@gmail.com>2023-03-04 01:24:15 +0000
commitf7f89a2ece36fd4a9d7b0a69e563832fff318035 (patch)
tree0ab3521b81a66b0455944a928385f7aa1a41bb39 /Makefile
parentcbe0038d2a7eaa08ad8acac4f21da1a72d1acda9 (diff)
downloadboca-f7f89a2ece36fd4a9d7b0a69e563832fff318035.tar.gz
boca-f7f89a2ece36fd4a9d7b0a69e563832fff318035.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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/