From 10fee444f139c2ea5d01aa15b774c10fdf51b942 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sun, 16 Jun 2019 20:02:40 +0200 Subject: [PATCH] Added "-fPIC" parameter --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 9d95884..bb981f8 100644 --- a/makefile +++ b/makefile @@ -2,8 +2,8 @@ #CC=gcc-8 AR=gcc-ar PLATFORM=$(shell uname -m) -CXXFLAGS=-std=c++11 -CCFLAGS=-std=c99 +CXXFLAGS=-std=c++11 -fPIC +CCFLAGS=-std=c99 -fPIC ARFLAGS=rcs BINDIR=bin SRCDIR=src