Subject: Linker issues with the GNUstep build

From: Yavor Doganov <[email-masked]>
Date: Fri, 22 Aug 2008 17:09:10 +0300

Package: emacs,ns

This change to src/Makefile.in (lacking a ChangeLog entry, AFAICS):

revision 1.430
date: 2008-08-21 05:57:36 +0300;  author: arobert;  state: Exp;  lines: +4 -1;  commitid: xdUZy1FURUF5nBft;
* Makefile.in (temacs): Add plain LDFLAGS to GNUstep CC invocation.

breaks the GNUstep build:

gcc -rdynamic `./prefix-args -Xlinker -z nocombreloc -L/usr/lib -Wl,-znocombreloc -L/usr/lib -lgnustep-gui -lgnustep-base -lobjc  -lpthread` -o temacs dispnew.o frame.o scroll.o xdisp.o menu.o  window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o   dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o  nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o fontset.o fringe.o image.o   terminfo.o lastfile.o   vm-limit.o      -lasound  -ldbus-1 -lncurses   -lm 
/usr/bin/ld: unrecognized option '-Wl,-znocombreloc'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1