From: Kent Overstreet Date: Mon, 18 Oct 2021 20:57:08 +0000 (-0400) Subject: Build with -fPIC X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4ee9ebc32e45b1578a0109e2e3487979ec4d1034;p=bcachefs-tools-debian 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 --- 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 \