diff options
-rw-r--r-- | CHANGELOG.txt | 2 | ||||
-rw-r--r-- | zp/GNUmakefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt index ec38efa..e9c6304 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -117,6 +117,8 @@ * Add metaprogramming classes for removing references and pointers; * Make test support C++17; +* Compile position-independent code; + # 0.0.2 * Migrate to CMake; diff --git a/zp/GNUmakefile b/zp/GNUmakefile index 28ddffe..0bf132d 100644 --- a/zp/GNUmakefile +++ b/zp/GNUmakefile @@ -205,11 +205,13 @@ ifeq "$(shrlib)" "true" CFLAGS := \ $(CFLAGS) \ -Ofast \ + -fpic \ -g CXXFLAGS := \ $(CXXFLAGS) \ -Ofast \ + -fpic \ -g LDFLAGS := \ |