Skip to content

Commit

Permalink
README.Cygwin: if using git, make sure to checkout with Unix line end…
Browse files Browse the repository at this point in the history
…ings.
  • Loading branch information
schmonz committed Dec 6, 2022
1 parent 3456eb6 commit 7625751
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion bootstrap/README.Cygwin
@@ -1,9 +1,23 @@
$NetBSD: README.Cygwin,v 1.2 2016/07/03 15:16:47 sevan Exp $
$NetBSD: README.Cygwin,v 1.3 2022/12/06 15:22:18 schmonz Exp $

Please read the general README file as well.

==========================================================================

If fetching pkgsrc via git, make sure you get it with Unix line endings:

$ git clone https://github.com/NetBSD/pkgsrc.git \
--config core.eol=lf \
--config core.autocrlf=input

If you've already fetched pkgsrc without these options, fix up the line
endings now:

$ cd pkgsrc
$ git config core.eol lf
$ git config core.autocrlf input
$ git checkout-index --force --all

pkgsrc supports both gcc (GNU Compiler Collection) and clang (C Language Family
Frontend for LLVM). gcc is the default.

Expand Down

0 comments on commit 7625751

Please sign in to comment.