Support creating static PIE
Motivation
Support creating static PIE.
Proposal
Currently, position-independent executable need link with shared Haskell libraries:
But since GCC 8.0, GCC support use -static-pie to create static PIE.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81498
Supporting static PIE is an extremely exciting feature. It greatly enhances security and facilitates deployment.