armdevvel / mxe-SHARED

MXE (M cross environment) for ARM32 Windows development (shared libraries)
Other
6 stars 3 forks source link

osslsigncode/popen2: Satisfy requirement of -fPIE on popen2 build #35

Closed pahaze closed 1 year ago

pahaze commented 1 year ago

For some reason, osslsigncode doesn't want to build if popen2 is not built with -fPIE. Adding it simply fixes it.

Error log for osslsigncode if curious, though.

treeswift commented 1 year ago

Makes perfect sense. Either conditional (under BUILD_CROSS) or unconditional is OK for me.

treeswift commented 1 year ago

P.S. I wonder if we could standardize the host toolchain, or at least its implied flags, and somehow enforce the standard.

pahaze commented 1 year ago

Probably, shouldn't be too hard. What's fPIE for anyway?

treeswift commented 1 year ago

position-independent executable. (fPIC, AFAIU, is more rigorous.)