[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:
+1
-1
@@ -92,7 +92,7 @@ open class CompileToBitcode @Inject constructor(
|
||||
listOfNotNull("-std=c++17", "-Werror", "-O2",
|
||||
"-Wall", "-Wextra",
|
||||
"-Wno-unused-parameter", // False positives with polymorphic functions.
|
||||
"-fPIC".takeIf { !HostManager().targetByName(target).isMINGW })
|
||||
)
|
||||
}
|
||||
return commonFlags + sanitizerFlags + languageFlags + compilerArgs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user