From 413106413d039b47170003754a6b10c6c41b057a Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 16 Aug 2020 16:00:38 -0600 Subject: [PATCH] cs configure: use `strip -S` on `racket` with `--enable-embedfw` on Mac OS Closes #3349 --- racket/src/cs/c/configure | 3 +++ racket/src/cs/c/configure.ac | 3 +++ 2 files changed, 6 insertions(+) diff --git a/racket/src/cs/c/configure b/racket/src/cs/c/configure index 9612edb4c0..38a6f8ed16 100755 --- a/racket/src/cs/c/configure +++ b/racket/src/cs/c/configure @@ -4293,6 +4293,9 @@ case "$host_os" in CPPFLAGS="${CPPFLAGS} -DRACKET_XONX" strip_needs_dash_s=yes fi + if test "${enable_embedfw}" = "yes" ; then + strip_needs_dash_s=yes + fi PROPAGATE_SUB_CONFIGURE=no if test "${enable_sdk}" != "" ; then diff --git a/racket/src/cs/c/configure.ac b/racket/src/cs/c/configure.ac index 8e8933b799..493bda774b 100644 --- a/racket/src/cs/c/configure.ac +++ b/racket/src/cs/c/configure.ac @@ -261,6 +261,9 @@ case "$host_os" in CPPFLAGS="${CPPFLAGS} -DRACKET_XONX" strip_needs_dash_s=yes fi + if test "${enable_embedfw}" = "yes" ; then + strip_needs_dash_s=yes + fi PROPAGATE_SUB_CONFIGURE=no m4_include(../ac/sdk_mac.m4)