From f646fea03fdecc62af5ffe983f51e2c7ea8bc786 Mon Sep 17 00:00:00 2001 From: Greg V Date: Thu, 2 Apr 2020 15:24:54 +0300 Subject: [PATCH] Use -fPIC with Qt on *BSD like on Linux Required on FreeBSD at least. --- Makefile.common | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.common b/Makefile.common index 80871d0e3d..013fd9ce7d 100644 --- a/Makefile.common +++ b/Makefile.common @@ -426,6 +426,8 @@ ifeq ($(HAVE_QT), 1) ifneq ($(findstring Linux,$(OS)),) DEF_FLAGS += -fPIC + else ifneq ($(findstring BSD,$(OS)),) + DEF_FLAGS += -fPIC endif endif