Check*CompilerFlag: Testing flags affect on runtime
GitHub PR 322 reports that adding -pie
to link flags for on current MinGW-W64 creates a binary that immediately exits doing no work but doesn't otherwise fail. The PR proposes to add a way to check for this case. However, the contributor is unwilling to sign up for an account here.
Edited by Brad King