summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCHENG Renquan <rqcheng@smu.edu.sg>2010-07-12 16:49:08 +0800
committerCHENG Renquan <rqcheng@smu.edu.sg>2010-07-12 16:49:08 +0800
commit6e10941cc40ffb9d3835521658e5a95d797ca11e (patch)
tree7fe1c82678aab965babade0f015137a6ada409d7 /Makefile
parentfc85c38529fb8c824f616d4ffaf3d1f04badd0a2 (diff)
downloadgcc-dot-gen-plugin-master.tar.gz
gcc-dot-gen-plugin-master.tar.xz
gcc-dot-gen-plugin-master.zip
various improvementsHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 453fbeb..cbd24d8 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ PLUGIN_SOURCE_FILES = pass-dgen.c
PLUGIN_OBJECT_FILES = $(patsubst %.c,%.o,$(PLUGIN_SOURCE_FILES))
GCCPLUGINS_DIR := $(shell $(GCC) -print-file-name=plugin)
-CFLAGS += -I$(GCCPLUGINS_DIR)/include -I$(with_gmp)/include -Wall -O2
+CFLAGS += -I$(GCCPLUGINS_DIR)/include -I$(with_gmp)/include -Wall -fPIC -O2
all: $(PLUGIN_FILE)