From: Daniel Carl <danielcarl@gmx.de>
Date: Wed, 27 Jun 2018 22:36:42 +0000 (+0200)
Subject: Remove duplicate give compiler option -fPIC.
X-Git-Url: https://git.owens.tech/assets/editable-focus.html/assets/editable-focus.html/git?a=commitdiff_plain;h=8b7657fdac0c1f304a55d4bf5ddb4acdb5eaa35c;p=vimb.git

Remove duplicate give compiler option -fPIC.
---

diff --git a/config.mk b/config.mk
index 4b67016..4e7f5e2 100644
--- a/config.mk
+++ b/config.mk
@@ -34,7 +34,7 @@ CPPFLAGS += -DGDK_DISABLE_DEPRECATED
 
 # flags used to build webextension
 EXTTARGET   = webext_main.so
-EXTCFLAGS   = ${CFLAGS} -fPIC $(shell pkg-config --cflags webkit2gtk-4.0)
+EXTCFLAGS   = ${CFLAGS} $(shell pkg-config --cflags webkit2gtk-4.0)
 EXTCPPFLAGS = $(CPPFLAGS)
 EXTLDFLAGS  = $(shell pkg-config --libs webkit2gtk-4.0) -shared
 
diff --git a/tests/Makefile b/tests/Makefile
index dfd3db3..75aed18 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,5 +1,4 @@
 CPPFLAGS = -I ../
-CFLAGS   = -fPIC -pedantic
 
 include ../config.mk