Skip to content

Commit

Permalink
tutorial/httpd build optimized on Darwin (#1193)
Browse files Browse the repository at this point in the history
Closes #1168

Co-authored-by: Jan VL <[email protected]>
  • Loading branch information
jsulmont and Jan VL authored Mar 27, 2024
1 parent cd65a32 commit 14a9ac0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/tutorial/httpd/build.ss
Original file line number Diff line number Diff line change
Expand Up @@ -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")))))

0 comments on commit 14a9ac0

Please sign in to comment.