Skip to content

Commit b784996

Browse files
authored
Merge pull request swiftlang#430 from swiftlang/usama54321/sua-back-deployment-linker-arg
Pass -ftyped-cxx-new-delete as a linker arg.
2 parents 9ad44f1 + 2842c27 commit b784996

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)