Skip to content

Commit 2842c27

Browse files
committed
Pass -ftyped-cxx-new-delete as a linker arg.
The motivation here is to make back deployment easier by conditionally linking in a shim layer in the clang driver. rdar://149709799
1 parent ac358da commit 2842c27

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Sources/SWBUniversalPlatform/Specs/Clang LLVM 1.0.xcspec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2927,6 +2927,11 @@
29272927
YES = ("-ftyped-cxx-new-delete");
29282928
NO = ("-fno-typed-cxx-new-delete");
29292929
};
2930+
AdditionalLinkerArgs = {
2931+
compiler-default = ();
2932+
YES = ("-ftyped-cxx-new-delete");
2933+
NO = ();
2934+
};
29302935
},
29312936
// Index-while-building options, not visible in build settings.
29322937
{

0 commit comments

Comments
 (0)