codereport / jsource

J Language Source Code. Livestream links ⬇️
https://www.youtube.com/playlist?list=PLVFrD1dmDdvfVhYLU_iKkV67X9XqCJLWe
Other
38 stars 20 forks source link

Added -fPIE and -fPIC to compiler flags #77

Closed OnurKader closed 3 years ago

OnurKader commented 3 years ago

I couldn't compile the code on my machine without -fPIE and -fPIC, but those are enabled by -DBUILD_SHARED_LIBS=TRUE (lines 87-90), so either enable those by default or maybe mention the cmake flag in CONTRIBUTING.md.

Thanks, have a lovely day!