From c47c30191a15753f4cbe4750afd67c4463f895bf Mon Sep 17 00:00:00 2001 From: MANTANI Nobutaka Date: Thu, 5 May 2005 17:22:06 +0000 Subject: Replace -O(2|3|s) CFLAGS with -O on ia64 for a workaround to fix elisp processing errors. PR: ports/75832 Submitted by: KIMURA Yasuhiro Fix submitted by: yoichi --- editors/emacs22/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'editors/emacs22') diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile index 83d93917cca0..17ffb6e815ea 100644 --- a/editors/emacs22/Makefile +++ b/editors/emacs22/Makefile @@ -51,6 +51,13 @@ TEXIFILES= ada-mode autotype cc-mode cl dired-x ebrowse ediff \ LATEST_LINK= emacs +.include + +.if ${ARCH} == "ia64" +CFLAGS:= ${CFLAGS:C/-O(2|3|s)/-O/g} +CONFIGURE_ENV= CFLAGS="${CFLAGS}" +.endif + pre-everything:: .if !defined(WITH_MENUBAR_FONTSET) @${ECHO_MSG} "====>" @@ -77,4 +84,4 @@ post-build: post-install: @${CAT} ${PKGMESSAGE} -.include +.include -- cgit v1.2.3