Skip to content

Commit 86d63cd

Browse files
committed
removed unsafe flags.
1 parent 8d55680 commit 86d63cd

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

Package.swift

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,25 +49,6 @@ let package = Package(
4949
.headerSearchPath("."),
5050
.headerSearchPath("mldsa-native/mldsa"),
5151
.headerSearchPath("mldsa-native/mldsa/src"),
52-
53-
// C compiler flags (matching CMake configuration)
54-
.unsafeFlags(["-Wall"], .when(configuration: .debug)),
55-
.unsafeFlags(["-Wall"], .when(configuration: .release)),
56-
.unsafeFlags(["-Wextra"]),
57-
.unsafeFlags(["-Werror"]),
58-
.unsafeFlags(["-Wmissing-prototypes"]),
59-
.unsafeFlags(["-Wshadow"]),
60-
.unsafeFlags(["-Wpointer-arith"]),
61-
.unsafeFlags(["-Wno-long-long"]),
62-
.unsafeFlags(["-Wno-unknown-pragmas"]),
63-
.unsafeFlags(["-Wredundant-decls"]),
64-
.unsafeFlags(["-Wno-unused-command-line-argument"]),
65-
.unsafeFlags(["-Wno-unused-function"]),
66-
.unsafeFlags(["-fomit-frame-pointer"]),
67-
.unsafeFlags(["-std=c99"]),
68-
.unsafeFlags(["-pedantic"]),
69-
.unsafeFlags(["-O3"], .when(configuration: .release)),
70-
.unsafeFlags(["-fvisibility=default"], .when(platforms: [.macOS, .iOS])),
7152
],
7253
linkerSettings: [
7354
// Link Security framework on Apple platforms

0 commit comments

Comments
 (0)