shady-gang / shady

Research shading language IR
MIT License
206 stars 11 forks source link

Fix shared library compilation by turning on -fPIC for murmur #15

Closed madmann91 closed 8 months ago

madmann91 commented 8 months ago

Shady does not link correctly if the library is generated as a shared library, because murmur is not compiled with position independent code. This fixes the problem in a portable way.

Hugobros3 commented 8 months ago

I noticed this on another machine (actually, on a 32-bit x86 freebsd host, because why not) the other day. Same fix, forgot to commit it. Merged!