aras-p / hlsl2glslfork

HLSL to GLSL language translator based on ATI's HLSL2GLSL. Used in Unity.
Other
558 stars 143 forks source link

-fPIC on linux x86_64? #46

Closed TurkeyMan closed 9 years ago

TurkeyMan commented 10 years ago

I can't work out how to build with -fPIC. I've tried everything I can think of, verbose output shows the flag passed to the compiler, still doesn't seem to work... Either way, -fPIC is basically a requirement for x64 libs. Consider adding it by default? Otherwise many users will repeat this headache.

computerquip commented 9 years ago

hlsl2glslfork appears to build fine for my native environment (amd64). Does this problem still persist?