remove no longer needed '-Xclang -fdefine-sized-deallocation'

This commit is contained in:
Thomas Pöchtrager 2015-04-19 16:01:14 +02:00
parent 69d275877b
commit 75e11afda9

View File

@ -614,21 +614,6 @@ bool Target::setup() {
// Use libs from './build_gcc' installation
setupGCCLibs(targetarch[0]);
}
#ifndef __APPLE__
// TODO: Need a way to distinguish between vanilla and Xcode clang
// versions.
if (clangversion >= ClangVersion(3, 7, 0) &&
!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("-Xclang");
fargs.push_back("-fdefine-sized-deallocation");
}
}
#endif
}
} else if (isGCC()) {