From 9f2c1df2b33522c0df1afae79339a494b306bd17 Mon Sep 17 00:00:00 2001 From: jperkin Date: Mon, 4 Nov 2013 11:08:03 +0000 Subject: Don't strip on older OSX, avoids 'malformed object' errors. --- editors/emacs23/Makefile.common | 6 +++++- editors/emacs24/Makefile.common | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'editors') diff --git a/editors/emacs23/Makefile.common b/editors/emacs23/Makefile.common index 02c44258b23..f915d09dc2b 100644 --- a/editors/emacs23/Makefile.common +++ b/editors/emacs23/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.3 2013/10/27 20:47:53 joerg Exp $ +# $NetBSD: Makefile.common,v 1.4 2013/11/04 11:09:40 jperkin Exp $ # # used by editors/emacs23/Makefile # used by editors/emacs23-nox11/Makefile @@ -58,6 +58,10 @@ CHECK_WRKREF_SKIP+= bin/emacs-${EMACS_VERSION} # upstream bug #8395. Details in: # http://lists.gnu.org/archive/html/emacs-bug-tracker/2011-07/msg00445.html CFLAGS+= -fno-pie +# Avoid 'malformed object' errors with older Xcode. +. if ${OS_VERSION:R} < 11 +INSTALL_UNSTRIPPED= yes +. endif .endif .if (${OPSYS} == "NetBSD") && \ diff --git a/editors/emacs24/Makefile.common b/editors/emacs24/Makefile.common index ae5f05f91a4..de18e72619b 100644 --- a/editors/emacs24/Makefile.common +++ b/editors/emacs24/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.6 2013/10/27 20:47:53 joerg Exp $ +# $NetBSD: Makefile.common,v 1.7 2013/11/04 11:08:03 jperkin Exp $ # # used by editors/emacs24/Makefile # used by editors/emacs24-nox11/Makefile @@ -58,6 +58,10 @@ CHECK_WRKREF_SKIP+= bin/emacs-${EMACS_VERSION} # upstream bug #8395. Details in: # http://lists.gnu.org/archive/html/emacs-bug-tracker/2011-07/msg00445.html CFLAGS+= -fno-pie +# Avoid 'malformed object' errors with older Xcode. +. if ${OS_VERSION:R} < 11 +INSTALL_UNSTRIPPED= yes +. endif .endif .if (${OPSYS} == "NetBSD") && \ -- cgit v1.2.3