diff options
author | cgd <cgd@pkgsrc.org> | 1999-06-13 00:22:53 +0000 |
---|---|---|
committer | cgd <cgd@pkgsrc.org> | 1999-06-13 00:22:53 +0000 |
commit | ddac1f5ad43f834e6ab4ae0357aba208431d72b7 (patch) | |
tree | d58bdef6176818e8e57fc52fd9a9aade0c74d653 /editors | |
parent | df5e13309570bd0587cb05380beb2b44caeccb39 (diff) | |
download | pkgsrc-ddac1f5ad43f834e6ab4ae0357aba208431d72b7.tar.gz |
When doing ELF, use ORDINARY_LINK instead of START_FILES+LIB_STANDARD.
This works on e.g. NetBSD/i386 (and probably other new-to-ELF ports),
as well as NetBSD/alpha. It also looks like it'll work on powerpc, though
mips may have problems. If possible, this is probably the 'right' way
to do this.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs/patches/patch-bf | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editors/emacs/patches/patch-bf b/editors/emacs/patches/patch-bf index b6d79112833..97b047a9044 100644 --- a/editors/emacs/patches/patch-bf +++ b/editors/emacs/patches/patch-bf @@ -9,15 +9,14 @@ #define HAVE_WAIT_HEADER #define WAIT_USE_INT -@@ -71,6 +71,11 @@ +@@ -71,6 +71,10 @@ says where to find X windows at run time. We convert it to a -rpath option which is what OSF1 uses. */ #define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` + +#define HAVE_TEXT_START /* No need to define `start_of_text'. */ +#define UNEXEC unexelf.c -+#define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crtbegin.o -+#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o ++#define ORDINARY_LINK #endif /* __ELF__ */ /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears |