Bug 1710257 - [linux] Build librnp and dependencies with -fPIC. r=justdave
Differential Revision: https://phabricator.services.mozilla.com/D114688 --HG-- extra : amend_source : 2b101864829621658eb6aef440403a0080bfbfb7
This commit is contained in:
Родитель
586a9d0f46
Коммит
ba60f3928f
|
@ -43,3 +43,8 @@ if CONFIG["MOZ_LIBSTDCXX_TARGET_VERSION"]:
|
|||
CXXFLAGS += ["-stdlib=libc++"]
|
||||
LDFLAGS += ["-nostdlib++"]
|
||||
OS_LIBS += [static_libdir, "-l:libc++.a", "-l:libc++abi.a"]
|
||||
|
||||
|
||||
if CONFIG["OS_ARCH"] == "Linux":
|
||||
CFLAGS += ["-fPIC"]
|
||||
CXXFLAGS += ["-fPIC"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче