Skip to content

Commit a17e1b8

Browse files
committed
Remove clangEnumFixSetting
1 parent d7f0b76 commit a17e1b8

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Package.swift

+1-10
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
import Foundation
55
import PackageDescription
66

7-
// https://github.com/llvm/llvm-project/issues/48757
8-
let clangEnumFixSetting = CSetting.unsafeFlags(["-Wno-elaborated-enum-base"], .when(platforms: [.linux]))
9-
107
let openGraphShimsTarget = Target.target(
118
name: "OpenGraphShims"
129
)
@@ -47,20 +44,14 @@ let package = Package(
4744
// The SwiftPM support for such usage is still in progress.
4845
.target(
4946
name: "_OpenGraph",
50-
cSettings: [
51-
clangEnumFixSetting,
52-
.unsafeFlags(["-I", includePath]),
53-
.define("__COREFOUNDATION_FORSWIFTFOUNDATIONONLY__", to: "1"),
54-
],
5547
cxxSettings: [
5648
.unsafeFlags(["-I", includePath]),
5749
.define("__COREFOUNDATION_FORSWIFTFOUNDATIONONLY__", to: "1"),
5850
]
5951
),
6052
.target(
6153
name: "OpenGraph",
62-
dependencies: ["_OpenGraph"],
63-
cSettings: [clangEnumFixSetting]
54+
dependencies: ["_OpenGraph"]
6455
),
6556
openGraphShimsTarget,
6657
openGraphTestTarget,

0 commit comments

Comments
 (0)