mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
update for another -fdefine-sized-deallocation change
This commit is contained in:
parent
c180b6ac24
commit
7310cc3a61
@ -623,8 +623,10 @@ bool Target::setup() {
|
|||||||
!getenv("OSXCROSS_NO_DEFINE_SIZED_DEALLOCATION")) {
|
!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("-Xclang");
|
||||||
fargs.push_back("-fdefine-sized-deallocation");
|
fargs.push_back("-fdefine-sized-deallocation");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user