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,9 +623,11 @@ bool Target::setup() {
|
||||
!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))
|
||||
if (!usegcclibs || gccversion < GCCVersion(5, 0, 0)) {
|
||||
fargs.push_back("-Xclang");
|
||||
fargs.push_back("-fdefine-sized-deallocation");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
} else if (isGCC()) {
|
||||
|
Loading…
Reference in New Issue
Block a user