From 0f98755fc581e585a0cf813c0460937656c79563 Mon Sep 17 00:00:00 2001 From: Reinis Muiznieks Date: Wed, 7 Dec 2022 14:44:58 +0200 Subject: [PATCH] Flag for Position Independent Code --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 57693b2428f..b33979efee2 100644 --- a/Makefile +++ b/Makefile @@ -27,8 +27,8 @@ endif # Compile flags # -CFLAGS = -I. -O3 -std=c11 -CXXFLAGS = -I. -I./examples -O3 -std=c++11 +CFLAGS = -I. -O3 -std=c11 -fPIC +CXXFLAGS = -I. -I./examples -O3 -std=c++11 -fPIC LDFLAGS = # OS specific