Skip to content

Commit 8f33527

Browse files
authored
Merge pull request #798 from daveinglis/objectfile_update
Move a build setting from swiftPM to swift-build
2 parents 4b5f1f1 + e0bdf3a commit 8f33527

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/SWBUniversalPlatform/Specs/ProductTypes.xcspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@
164164
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
165165
KEEP_PRIVATE_EXTERNS = YES;
166166
DEAD_CODE_STRIPPING = NO;
167+
// Disable code coverage linker flags since we're producing .o files.
168+
// Otherwise, we will run into duplicated symbols when there are more than one targets that produce .o
169+
// as their product.
170+
CLANG_COVERAGE_MAPPING_LINKER_ARGS = NO;
167171
};
168172
PackageTypes = (
169173
com.apple.package-type.mach-o-objfile

0 commit comments

Comments
 (0)