summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt2
-rw-r--r--zp/GNUmakefile2
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 := \