[Native] Drop explicit -fPIC flag setup

We don't need to explicitly set -fPIC flag everywhere
because since d82109cc92
it is set by default for all ClangArgs users.
This commit is contained in:
Sergey Bogolepov
2021-06-10 15:12:32 +07:00
committed by Space
parent 7550351702
commit 36386de9a2
9 changed files with 4 additions and 27 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ linkerOpts = -fvisibility-inlines-hidden \
-ldebugInfo -lcoverageMapping
# ./llvm-config --libs analysis bitreader bitwriter core linker target coverage analysis ipo instrumentation lto objcarcopts arm aarch64 webassembly x86 mips
linkerOpts.osx = -fPIC \
linkerOpts.osx = \
-Wl,-search_paths_first -Wl,-headerpad_max_install_names \
-lpthread -lz -lm -lcurses -Wl,-U,_futimens -Wl,-U,_LLVMDumpType \
-Wl,-exported_symbols_list,llvm.list \
@@ -41,7 +41,7 @@ linkerOpts.osx = -fPIC \
# ./llvm-config --libs analysis bitreader bitwriter core linker target coverage analysis ipo instrumentation lto arm aarch64 webassembly x86 mips
linkerOpts.linux = -fPIC \
linkerOpts.linux = \
-Wl,-z,noexecstack \
-lrt -ldl -lpthread -lz -lm \
-lLLVMMipsDisassembler -lLLVMMipsCodeGen -lLLVMMipsAsmParser -lLLVMMipsDesc -lLLVMMipsInfo -lLLVMMipsAsmPrinter \