History

kbuild: use getopt_long(), not its _only() variant

NetBSD lacks getopt_long_only() whereas getopt_long() works just fine.

Arnaud Lacombe committed 16 years ago

Commit c94d3fb1 parent 9ba95681 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kconfig/conf.c+1−1
@@ -466,7 +466,7 @@ int main(int ac, char **av) · 465 unmodified lines
466466 bindtextdomain(PACKAGE, LOCALEDIR);
467467 textdomain(PACKAGE);
468468
469− while ((opt = getopt_long_only(ac, av, "", long_opts, NULL)) != -1) {
469+ while ((opt = getopt_long(ac, av, "", long_opts, NULL)) != -1) {
470470 input_mode = (enum input_mode)opt;
471471 switch (opt) {
472472 case silentoldconfig: