From 4ee9ebc32e45b1578a0109e2e3487979ec4d1034 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 18 Oct 2021 16:57:08 -0400 Subject: [PATCH] Build with -fPIC The changes to how we integrate with rust code mean that we now need to be emitting position indepedent code. Signed-off-by: Kent Overstreet --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc56d7b..e852381 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PREFIX?=/usr/local PKG_CONFIG?=pkg-config INSTALL=install PYTEST=pytest-3 -CFLAGS+=-std=gnu89 -O2 -g -MMD -Wall \ +CFLAGS+=-std=gnu89 -O2 -g -MMD -Wall -fPIC \ -Wno-pointer-sign \ -fno-strict-aliasing \ -fno-delete-null-pointer-checks \ -- 2.39.2