[oi-dev] How does one stop meson from generating -pie?

Alexander Pyhalov alp at sfedu.ru
Wed Dec 18 20:42:07 UTC 2019


Hi. 
Has someone dealt with meson? 
Our meson generates 

LINK_ARGS = -pie -m32 -O3 -Wno-error=format-nonliteral -m32 -lsocket -lsecdb -lnsl glib/libglib-2.0.so.0.6200.3 -lm -pthread '-Wl,-rpath,$$ORIGIN/../glib'...

It seems it has strange logic: build every executable with '-pie' and static libraries with '-fpic'...

С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ





More information about the oi-dev mailing list