[linux-lvm] [PATCH]: don't use functions marked by SUSv3 as legacy

Nix nix at esperi.org.uk
Sun Jul 1 19:11:18 UTC 2007

On 1 Jul 2007, Arkadiusz Miskiewicz stated:
> The other one puts LDFLAGS (linker flags) not CFLAGS (cflags is for 
> compilation, ldflags for linking)

That's sane.

>                                   and changes order so linking will success 
> when using -Wl,--as-needed flag.

There must be more to it than this. I've always built with -Wl,--as-needed
(wired into my GCC specs file), and I've never had a problem with LVM.

I can't see how moving the -o around would change a thing, myself.

What problem does this fix?

`... in the sense that dragons logically follow evolution so they would
 be able to wield metal.' --- Kenneth Eng's colourless green ideas sleep

More information about the linux-lvm mailing list