devkitPro / pacman-packages

https://devkitpro.org
135 stars 106 forks source link

ppc-flac is built with -fPIC #358

Closed lousyphreak closed 1 month ago

lousyphreak commented 3 months ago

When building for WiiU and linking to libFLAC.a elf2rpl complains about unsupported relocations 18 & 23.

Adding --without-pic to the configure flags fixes it: https://github.com/devkitPro/pacman-packages/blob/master/ppc/flac/PKGBUILD#L32

I am also using some other libs from dkp (ppc-zlib ppc-libmad ppc-flac ppc-freetype ppc-libjpeg-turbo ppc-libogg ppc-libtheora ppc-libvorbis ppc-libvorbisdec) and they all work so i assume building with -fPIC counts as a bug