diff --git a/Examples/FlappySwift/Package.swift b/Examples/FlappySwift/Package.swift index 07c2d84c..838bf74b 100644 --- a/Examples/FlappySwift/Package.swift +++ b/Examples/FlappySwift/Package.swift @@ -27,7 +27,6 @@ let package = Package( "-Xfrontend", "-disable-objc-interop", "-Xfrontend", "-disable-stack-protector", "-Xfrontend", "-function-sections", - "-Xfrontend", "-gline-tables-only", "-Xcc", "-DTARGET_EXTENSION" ]), ], diff --git a/Examples/Pong/Package.swift b/Examples/Pong/Package.swift index b2c2bceb..d1e9cf55 100644 --- a/Examples/Pong/Package.swift +++ b/Examples/Pong/Package.swift @@ -27,7 +27,6 @@ let package = Package( "-Xfrontend", "-disable-objc-interop", "-Xfrontend", "-disable-stack-protector", "-Xfrontend", "-function-sections", - "-Xfrontend", "-gline-tables-only", "-Xcc", "-DTARGET_EXTENSION" ]), ], diff --git a/Examples/Xkpd/Package.swift b/Examples/Xkpd/Package.swift index 5c384f18..1f4c27a7 100644 --- a/Examples/Xkpd/Package.swift +++ b/Examples/Xkpd/Package.swift @@ -43,7 +43,6 @@ let package = Package( "-Xfrontend", "-disable-objc-interop", "-Xfrontend", "-disable-stack-protector", "-Xfrontend", "-function-sections", - "-Xfrontend", "-gline-tables-only", "-Xcc", "-DTARGET_EXTENSION" ]), ], diff --git a/Package.swift b/Package.swift index 97f11cde..a5456bd3 100644 --- a/Package.swift +++ b/Package.swift @@ -48,7 +48,6 @@ let package = Package( "-Xfrontend", "-disable-objc-interop", "-Xfrontend", "-disable-stack-protector", "-Xfrontend", "-function-sections", - "-Xfrontend", "-gline-tables-only", "-Xcc", "-DTARGET_EXTENSION", "-Xcc", "-I", "-Xcc", "\(armToolchainPath)/include", "-Xcc", "-I", "-Xcc", "\(armToolchainPath)/include-fixed", @@ -68,7 +67,6 @@ let package = Package( "-Xfrontend", "-disable-objc-interop", "-Xfrontend", "-disable-stack-protector", "-Xfrontend", "-function-sections", - "-Xfrontend", "-gline-tables-only", "-Xcc", "-DTARGET_EXTENSION", "-Xcc", "-I", "-Xcc", "\(armToolchainPath)/include", "-Xcc", "-I", "-Xcc", "\(armToolchainPath)/include-fixed", diff --git a/Toolsets/toolset_device.json b/Toolsets/toolset_device.json index a1ecf233..5d78fd57 100644 --- a/Toolsets/toolset_device.json +++ b/Toolsets/toolset_device.json @@ -3,7 +3,8 @@ "swiftCompiler": { "extraCLIOptions": [ "-target", "armv7em-none-none-eabi", - "-Xfrontend", "-experimental-platform-c-calling-convention=arm_aapcs_vfp" + "-Xfrontend", "-experimental-platform-c-calling-convention=arm_aapcs_vfp", + "-Xfrontend", "-gline-tables-only" ] }, "cCompiler": {