diff --git a/tools/build/Makefile b/tools/build/Makefile index fa5bae22b64..64d3f77fe33 100644 --- a/tools/build/Makefile +++ b/tools/build/Makefile @@ -52,7 +52,7 @@ SRCS+= strtofflags.c .endif # Lot of tools need and getopt_long(3). -.if !exists(/usr/include/getopt.h) +.if ( !exists(/usr/include/getopt.h) || ${BOOTSTRAPPING} < 502104 ) INCS+= getopt.h .PATH: ${.CURDIR}/../../lib/libc/stdlib SRCS+= getopt_long.c