Adam Thomason <[EMAIL PROTECTED]> wrote:

> amd64 breaks.  Shared libraries must be compiled with -fPIC; see
> http://www.x86-64.org/lists/discuss/msg02621.html for why.  LD_SHARED
> has the flag, but nci_test.o isn't compiled with it.

Well, then we have to add $(LD_SHARED).

> needs to be a CC_SHARED as well?

You are thinking of many object files that are linked together as a
shared lib?

> ... -fPIC isn't desirable where
> unecessary, so it shouldn't be the default for every Linux, certainly...
> does this belong in the cpu/ tests?

config/gen/cpu/* is more intended for generated files. I think a
similar thing should be in config/auto/cpu/* for feature tests.

leo

Reply via email to