From d73ed8c16a6eaf84a8a40d529668534edb38b443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Davi=20Ant=C3=B4nio=20da=20Silva=20Santos?= Date: Fri, 3 Mar 2023 11:21:48 -0300 Subject: Enable compiler optimisations The tools safeexec and boca-submit-run-root-wrapper are now built with optimisations (gcc optimisation level 2). --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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/ -- cgit v1.2.3