mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-08 02:55:56 +01:00
-fdef-sized-delete -> -fdefine-sized-deallocation
This commit is contained in:
parent
9264fa6ead
commit
c180b6ac24
@ -620,11 +620,11 @@ bool Target::setup() {
|
|||||||
// versions.
|
// versions.
|
||||||
|
|
||||||
if (clangversion >= ClangVersion(3, 7, 0) &&
|
if (clangversion >= ClangVersion(3, 7, 0) &&
|
||||||
!getenv("OSXCROSS_NO_DEF_SIZED_DELETE")) {
|
!getenv("OSXCROSS_NO_DEFINE_SIZED_DEALLOCATION")) {
|
||||||
// Will run into linker errors otherwise with not so recent libc++
|
// Will run into linker errors otherwise with not so recent libc++
|
||||||
// and libstdc++ versions.
|
// and libstdc++ versions.
|
||||||
if (!usegcclibs || gccversion < GCCVersion(5, 0, 0))
|
if (!usegcclibs || gccversion < GCCVersion(5, 0, 0))
|
||||||
fargs.push_back("-fdef-sized-delete");
|
fargs.push_back("-fdefine-sized-deallocation");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user