Build: Remove -fPIC on Windows
Former-commit-id: 76c37366073ebdb5ff1ecb0ad61ee746806195ed [formerly 920a28d07dabee120584c778271d95e863a39fa1] Former-commit-id: 2f8dbf0c075f6e2638da31e9ca69cbef1b832912
This commit is contained in:
parent
6819d4a26c
commit
926cbbea98
|
|
@ -82,8 +82,11 @@ function NazaraBuild:Execute()
|
||||||
configuration("ReleaseStatic")
|
configuration("ReleaseStatic")
|
||||||
targetsuffix("-s")
|
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")
|
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
|
for k, libTable in ipairs(self.OrderedExtLibs) do
|
||||||
project(libTable.Name)
|
project(libTable.Name)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue