Build: Remove -fPIC on Windows
Former-commit-id: 5cd3d0c7fa9af5022c71c582859b019f695c5b3d [formerly 1f81da6357e1a8664649015fb2cc58a4dac433e7] Former-commit-id: f58c4b94b53994f2e506acdc085e245d8419c4fa
This commit is contained in:
parent
3a1498b9a4
commit
daa49db2da
|
|
@ -82,8 +82,11 @@ function NazaraBuild:Execute()
|
|||
configuration("ReleaseStatic")
|
||||
targetsuffix("-s")
|
||||
|
||||
configuration({"not windows", "codeblocks or codelite or gmake or xcode3 or xcode4"})
|
||||
buildoptions("-fPIC")
|
||||
|
||||
configuration("codeblocks or codelite or gmake or xcode3 or xcode4")
|
||||
buildoptions({"-fPIC", "-std=c++14", "-U__STRICT_ANSI__"})
|
||||
buildoptions({"-std=c++14", "-U__STRICT_ANSI__"})
|
||||
|
||||
for k, libTable in ipairs(self.OrderedExtLibs) do
|
||||
project(libTable.Name)
|
||||
|
|
|
|||
Loading…
Reference in New Issue