mirror of
https://github.com/Relintai/osxcross.git
synced 2025-03-13 11:48:52 +01:00
remove no longer needed '-Xclang -fdefine-sized-deallocation'
This commit is contained in:
parent
69d275877b
commit
75e11afda9
@ -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()) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user