Luke - 2004-04-12

I get several messages like this when compiling (on gentoo 2004.0 x86_64)

Linking ../built/crutil/Linux/libcrutil.so
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../built/crutil/Linux/bbox.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
../built/crutil/Linux/bbox.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

I fixed the problem by adding this section to arch.mk:

ifeq ($(MACHTYPE),x86_64)
MACHTYPE=x86_64
CFLAGS += -fPIC
endif

This change breaks spu/zpix