editors/emacs21 on vax
Stuart Henderson <[email protected]> Thu, 9 Jan 2014 18:49:44 +0000
| Newsgroups | gmane.os.openbsd.vax |
|---|---|
| Message-ID | <[email protected]> |
So we had this working for a while, but it looks like either the switch
to gcc 3, or the change in LDFLAGS/CFLAGS to pass -nopie/-fno-pie by
default, broke editors/emacs21 on vax.
Does anyone have time to try a build with those flags removed from the
Makefile to see if just removing them, i.e. the diff below, is enough?
(if so, it can be made arch dependent, haven't done that here for the
sake of a simpler diff). It's probably a long shot but worth a go
before digging into anything further...
Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/emacs21/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile 9 Nov 2013 23:19:03 -0000 1.71
+++ Makefile 9 Jan 2014 18:47:56 -0000
@@ -36,8 +36,7 @@ MODGNU_EMACS_YOURE_WEIRD = Oh yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS= ${GCCARCH} --with-pop --with-system-malloc
-LDFLAGS= -Z -L${LOCALBASE}/lib -nopie
-CFLAGS += -fno-pie
+LDFLAGS= -Z -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS}"