update for another -fdefine-sized-deallocation change

This commit is contained in:
Thomas Pöchtrager 2015-02-21 18:51:45 +01:00
parent c180b6ac24
commit 7310cc3a61

View File

@ -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
} }