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.
|
||||
|
||||
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++
|
||||
// and libstdc++ versions.
|
||||
if (!usegcclibs || gccversion < GCCVersion(5, 0, 0))
|
||||
fargs.push_back("-fdef-sized-delete");
|
||||
fargs.push_back("-fdefine-sized-deallocation");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user