summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2008-11-21 05:33:00 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2008-11-21 05:33:00 +0000
commitd3780c76a705249b1e6290ce016ccf1333bf97c5 (patch)
tree21860538d9c123e88cc9f156e053aa04ee88eb8c /GNUmakefile
parentcbffc7c2ab7be4276878304e79b02184f9de06ba (diff)
downloadcryptopp-d3780c76a705249b1e6290ce016ccf1333bf97c5.tar.gz
add -fPIC to default flags
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@427 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 65825f3..9ca9fab 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,4 +1,4 @@
-CXXFLAGS = -DNDEBUG -g -O2
+CXXFLAGS = -DNDEBUG -g -O2 -fPIC
# the following options reduce code size, but breaks link or makes link very slow on some systems
# CXXFLAGS += -ffunction-sections -fdata-sections
# LDFLAGS += -Wl,--gc-sections