From 14a9ac02577883a7fc874cd024a5fb47a6e45f29 Mon Sep 17 00:00:00 2001 From: Jan Sulmont Date: Wed, 27 Mar 2024 13:06:16 +0000 Subject: [PATCH] tutorial/httpd build optimized on Darwin (#1193) Closes #1168 Co-authored-by: Jan VL --- src/tutorial/httpd/build.ss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/tutorial/httpd/build.ss b/src/tutorial/httpd/build.ss index 6357a7045..422e6e9aa 100755 --- a/src/tutorial/httpd/build.ss +++ b/src/tutorial/httpd/build.ss @@ -2,6 +2,15 @@ ;; -*- Gerbil -*- (import :std/build-script) +(import :std/make) (defbuild-script - '((exe: "simpled"))) + (cond-expand + (darwin + `((exe: "simpled" + "-cc-options" ,(cppflags "openssl" "") + "-cc-options" "-Wno-implicit-function-declaration" + "-cc-options" "-Wno-deprecated-declarations" + "-ld-options" ,(ldflags "openssl" "")))) + (else + '((exe: "simpled")))))