EverGreenCoinDev / EverGreenCoin

EverGreenCoin Official Development Tree
https://www.evergreencoin.org
MIT License
20 stars 12 forks source link

Adds LEVELDB_FLAG when compiling a hardened Binary with PIE enabled #22

Closed m1ari closed 6 years ago

m1ari commented 6 years ago

This sets the -fPIE flag for building libleveldb.a and libmemenv.a. Without this builds on CentOS, Fedora, and Ubuntu 16.04 fail at the final linking stage when built using the PIE=1 flag to generate a hardened binary.