aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavi Antônio da Silva Santos <antoniossdavi@gmail.com>2023-03-03 14:21:48 +0000
committerDavi Antônio da Silva Santos <antoniossdavi@gmail.com>2023-03-04 01:24:15 +0000
commitd73ed8c16a6eaf84a8a40d529668534edb38b443 (patch)
treefe3aa6a08ff24991d5c22e4794ca670cb945e54f
parent7c0f371cfb3ad3d876325dd0e8e2f9e74e8b5e22 (diff)
downloadboca-d73ed8c16a6eaf84a8a40d529668534edb38b443.tar.gz
boca-d73ed8c16a6eaf84a8a40d529668534edb38b443.zip
Enable compiler optimisations
The tools safeexec and boca-submit-run-root-wrapper are now built with optimisations (gcc optimisation level 2).
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0674ac2..d30200c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
tools/safeexec: tools/safeexec.c
- gcc -g $^ -o $@
+ gcc -g -O2 $^ -o $@
tools/boca-submit-run-root-wrapper: tools/boca-submit-run-root-wrapper.c
- gcc -g $^ -o $@
+ gcc -g -O2 $^ -o $@
install-bocawww:
mkdir -p $(DESTDIR)/usr/sbin $(DESTDIR)/etc/cron.d $(DESTDIR)/var/www/boca/