Closed arnetheduck closed 1 year ago
Ah, misunderstood the build system - CFLAGS="-D__BLST_PORTABLE__ -fPIC" ./build.sh -shared
works as expected
CFLAGS environment variable has an absolute priority. Formally speaking one can make a case that -fPIC should be passed nevertheless. Meanwhile passing compiler flags directly to build.sh is better suited for all-round purposes, as ./build.sh -shared -D__BLST_PORTABLE__
.
4967efe5c49b5abd09895ffa31d54e308835ab15