mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
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 <kent.overstreet@gmail.com>
This commit is contained in:
parent
3db34427e6
commit
4ee9ebc32e
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ PREFIX?=/usr/local
|
|||||||
PKG_CONFIG?=pkg-config
|
PKG_CONFIG?=pkg-config
|
||||||
INSTALL=install
|
INSTALL=install
|
||||||
PYTEST=pytest-3
|
PYTEST=pytest-3
|
||||||
CFLAGS+=-std=gnu89 -O2 -g -MMD -Wall \
|
CFLAGS+=-std=gnu89 -O2 -g -MMD -Wall -fPIC \
|
||||||
-Wno-pointer-sign \
|
-Wno-pointer-sign \
|
||||||
-fno-strict-aliasing \
|
-fno-strict-aliasing \
|
||||||
-fno-delete-null-pointer-checks \
|
-fno-delete-null-pointer-checks \
|
||||||
|
Loading…
Reference in New Issue
Block a user