rebuild with -fPIC (fbthrift) (#4513)

* rebuild with -fPIC

* fix path in FBThriftTargets.cmake

* remove sed command
This commit is contained in:
Andrew 2023-12-21 22:38:04 +02:00 committed by GitHub
parent 15d6dc7315
commit e21ae15b8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,11 @@ build:
- -DCMAKE_VERBOSE_MAKEFILE=ON - -DCMAKE_VERBOSE_MAKEFILE=ON
- -Wno-dev - -Wno-dev
- -DBUILD_TESTING=OFF - -DBUILD_TESTING=OFF
linux:
CMAKE_ARGS:
- -DCMAKE_C_FLAGS=-fPIC
- -DCMAKE_CXX_FLAGS=-fPIC
- -DCMAKE_EXE_LINKER_FLAGS=-pie
provides: provides:
- bin/thrift1 - bin/thrift1
test: test: