On Tue, 16 May 2017 22:37:53 +0300 Adrian Bunk <b...@debian.org> wrote:
> Source: sciplot
> Version: 1.36-16
> Severity: important
>
> https://buildd.debian.org/status/package.php?p=sciplot&suite=sid
>
> ...
> ld -shared -o libsciplot.so.1.36 SciPlot.o SciPlotUtil.o -mminimal-toc
> -lXm -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11 -lm
> -lm -soname libsciplot.so.1 -lc
> ld: unrecognised emulation mode: minimal-toc
> Supported emulations: elf64lppc elf32lppc elf32lppclinux elf32lppcsim
> elf64ppc elf32ppc elf32ppclinux elf32ppcsim
> Makefile:1105: recipe for target 'shared' failed
> make[2]: *** [shared] Error 1
>
>
what about adding in Imakefile:
#ifdef Ppc64Architecture
#define DefaultNotLDOptions -mminimal-toc
NOTLDOPTIONS = DefaultNotLDOptions
LDOPTIONS := $(filter-out $(NOTLDOPTIONS),$(LDOPTIONS))
#endif