From 12d515c6db7b46439ffa78618729c927c42f56a9 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 21 Nov 2008 05:33:00 +0000 Subject: [PATCH] add -fPIC to default flags --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 65825f3a..9ca9fab2 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