From c38c5c6063e274b02ccb25bcd6e4ee7524d41a10 Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Mon, 22 Jan 2007 08:35:02 +0000 Subject: [PATCH] On OS X, add -Wl,-pagezero_size,04000000 to DLD_LDFLAGS, not LDFLAGS, so that it is passed only when building the `scheme' and `bchscheme' binaries, not when compiling all object files. --- v7/src/microcode/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/configure.ac b/v7/src/microcode/configure.ac index 09e58c953..a032d39a3 100644 --- a/v7/src/microcode/configure.ac +++ b/v7/src/microcode/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([MIT/GNU Scheme microcode], [14.18], [bug-mit-scheme@gnu.org], [mit-scheme]) -AC_REVISION([$Id: configure.ac,v 1.35 2007/01/22 06:38:39 cph Exp $]) +AC_REVISION([$Id: configure.ac,v 1.36 2007/01/22 08:35:02 riastradh Exp $]) AC_CONFIG_SRCDIR([boot.c]) AC_CONFIG_HEADERS([config.h]) AC_PROG_MAKE_SET @@ -746,7 +746,7 @@ freebsd*) M4_FLAGS="${M4_FLAGS} -P SUPPRESS_LEADING_UNDERSCORE,1" ;; darwin*) - LDFLAGS="${LDFLAGS} -Wl,-pagezero_size,04000000" + DLD_LDFLAGS="${DLD_LDFLAGS} -Wl,-pagezero_size,04000000" MODULE_LDFLAGS="${MODULE_LDFLAGS} -dynamiclib -flat_namespace -undefined suppress" ;; netbsd*) -- 2.25.1