summaryrefslogtreecommitdiff
path: root/doc/forum/Make_clean_fails_in_openbsd.mdwn
blob: 0f73586a4303e8ebb8a60276037eff28bceb1447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
openbsd requires specifying the path for the [`find`][0] command. So this:

    find -name \*.o
    find: unknown option -- n
    usage: find [-dHhLXx] [-f path] path ... [expression]


fails.

This works:


    find . -name \*.o
    ./dist/build/Utility/Applicative.o
    ./dist/build/Utility/PosixFiles.o
    ./dist/build/Utility/Split.o
    ...


as expected.

Here's a patch for it: [0001-Makefile-Update-clean.patch][1].

[0]: https://man.openbsd.org/find
[1]: https://ricketyspace.net/patch/0001-Makefile-Update-clean.patch