|
|
|
@ -193,7 +193,7 @@ function GccVersion()
@@ -193,7 +193,7 @@ function GccVersion()
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
function UseCxx11ABI() |
|
|
|
|
if os.istarget("linux") and GccVersion() >= '4.9.0' and _OPTIONS["no-cxx11-abi"] == nil then |
|
|
|
|
if os.istarget("linux") and premake.checkVersion(GccVersion(), '4.9.0') and _OPTIONS["no-cxx11-abi"] == nil then |
|
|
|
|
return true |
|
|
|
|
end |
|
|
|
|
return false |
|
|
|
@ -229,4 +229,4 @@ function AddPlatformSpecificFiles(folder, filename)
@@ -229,4 +229,4 @@ function AddPlatformSpecificFiles(folder, filename)
|
|
|
|
|
else |
|
|
|
|
print "Unknown architecture" |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|