From 7310cc3a61a54e3058e15e13aee7e65b57d3376b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Sat, 21 Feb 2015 18:51:45 +0100 Subject: [PATCH] update for another -fdefine-sized-deallocation change --- wrapper/target.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wrapper/target.cpp b/wrapper/target.cpp index 3e4ccf0..53207ee 100644 --- a/wrapper/target.cpp +++ b/wrapper/target.cpp @@ -623,8 +623,10 @@ 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 }