build with -fPIC on linux arm

This commit is contained in:
Andrii Riabchenko 2023-12-13 22:37:03 +02:00 committed by Jacob Heider
parent 3be2bb1f2d
commit b3b93a8ffb

View file

@ -55,7 +55,8 @@ build:
PHP_PREFIX: "{{prefix}}"
# 0.19.0 has an unused `int j = 0;`.
CXXFLAGS: $CXXFLAGS -Wno-unused-but-set-variable
linux/aarch64:
CXXFLAGS: $CXXFLAGS -Wno-unused-but-set-variable -fPIC
provides:
- bin/thrift