mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
rebuild with -fPIC (fbthrift) (#4513)
* rebuild with -fPIC * fix path in FBThriftTargets.cmake * remove sed command
This commit is contained in:
parent
15d6dc7315
commit
e21ae15b8b
1 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue