Skip to content

Commit

Permalink
fix: disable LTO on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 6, 2024
1 parent 6cda57c commit 35c4eef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ buildType "release-nobounds" {
buildOptions "releaseMode" "optimize" "inline" "noBoundsCheck"

# link time optimizations
dflags "--flto=full" "--ffast-math" platfrom="ldc"
dflags "--flto=full" "--ffast-math" platform="windows-ldc"
dflags "--flto=full" "--ffast-math" platform="linux-ldc"
}

buildType "debug-sanitize-address" platform="ldc" {
Expand Down

0 comments on commit 35c4eef

Please sign in to comment.