Skip to content

Commit

Permalink
Add "gnu" flag
Browse files Browse the repository at this point in the history
To be symetrical with musl. It's not currently used but it may be in the future.
  • Loading branch information
jirutka authored and j8r committed Aug 30, 2019
1 parent da9af22 commit e8be395
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/compiler/crystal/semantic/flags.cr
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ class Crystal::Program

flags.add "unix" if codegen_target.unix?
flags.add "win32" if codegen_target.win32?
flags.add "darwin" if codegen_target.macos?

flags.add "gnu" if codegen_target.gnu?
flags.add "musl" if codegen_target.musl?

flags.add "darwin" if codegen_target.macos?
if codegen_target.freebsd?
flags.add "freebsd"
flags.add "freebsd#{codegen_target.freebsd_version}"
Expand Down

0 comments on commit e8be395

Please sign in to comment.