SOURCES: rpm-macros.patch - --as-needed by default

sparky at pld-linux.org sparky at pld-linux.org
Mon Jul 24 00:21:32 CEST 2006


On Sun, Jul 23, 2006 at 10:22:23PM +0200, freetz wrote:
> Author: freetz                       Date: Sun Jul 23 20:22:23 2006 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - --as-needed by default

> -+%rpmldflags	%{nil}
> ++%rpmldflags	%{!?no_build_with_as_needed:-Wl,--as-needed}

i have rebuild whole PPCRCD with --as-needed and i've found one big
problem: most things using ncurses and/or readline don't build,
first there is some problem with ncurses configure script, it thinks
there is no ncurses library, and readline thinks there is no termcap

some other programs don't build even without --as-needed if readline
was build with this flag (js.spec for instance)

anyone wants to solve it ?

there goes a list of specs i have problem with:
- util-ilnux
- psproc
- zlib
- libjpeg
- rmt
- parted
- lvm2
- dmraid
- xfsprogs
- ext3rminator
- zaptel
- wvstreams
- wvdial
- ftp
- lftp
- ncftp
- readline: causes js.rpm fail
- irssi
- texinfo
- vim
- elfutils

-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ........... LANG...Pl..Ca..Es..En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : JID......sparky<at>jabberes.org
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail....sparky<at>pld-linux.org


More information about the pld-devel-en mailing list