In article <20170212165406.79987f...@cvs.netbsd.org>, Aymeric Vincent <source-changes-d@NetBSD.org> wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: aymeric >Date: Sun Feb 12 16:54:06 UTC 2017 > >Modified Files: > src/sbin/gpt: main.c > >Log Message: >Make gpt(8) work when compiled on a glibc-based OS. > >This restores the ability to build amd64 install-image's under Linux.
Yes, doesn't libcompat provide our getopt()? Or are you trying to compile this standalone? christos