From bb82d51d1e5d8a29c67d7e37a3bab2187dea3c62 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 21 Nov 2008 22:40:16 +0000 Subject: [PATCH] changed mind. remove -fPIC as default, document it as supported --- GNUmakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 9ca9fab2..ed6b309a 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,6 @@ -CXXFLAGS = -DNDEBUG -g -O2 -fPIC +CXXFLAGS = -DNDEBUG -g -O2 +# -fPIC is supported. Please report any breakage of -fPIC as a bug. +# CXXFLAGS += -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