Skip to content

Commit 1cdb517

Browse files
committed
Fix Makefile lines that picky complains about
1 parent 54a7a3f commit 1cdb517

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile.ship

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,7 @@ all: check_include ${BLD_TYPE} CHANGES
21802180

21812181
check_include:
21822182
$(Q) if ! echo '#include <stdio.h>' | ${CC} -E - >/dev/null 2>&1; then \
2183-
echo "ERROR: The critical <stdio.h> include file is missing." 1>&2; \
2183+
echo "ERROR: Missing critical <stdio.h> include file." 1>&2; \
21842184
echo "Without critical include files, we cannot compile." 1>&2; \
21852185
echo "Perhaps your system isn't setup to compile C source?" 1>&2; \
21862186
echo 1>&2; \
@@ -2470,10 +2470,12 @@ endian_calc.h: endian${EXT} ${MAKE_FILE}
24702470
if echo '#include <endian.h>' | ${CC} -E - >/dev/null 2>&1; then \
24712471
echo '#include <endian.h>' >> endian_calc.h; \
24722472
echo '#define CALC_BYTE_ORDER BYTE_ORDER' >> endian_calc.h; \
2473-
elif echo '#include <machine/endian.h>' | ${CC} -E - >/dev/null 2>&1; then \
2473+
elif echo '#include <machine/endian.h>' | \
2474+
${CC} -E - >/dev/null 2>&1; then \
24742475
echo '#include <machine/endian.h>' >> endian_calc.h; \
24752476
echo '#define CALC_BYTE_ORDER BYTE_ORDER' >> endian_calc.h; \
2476-
elif echo '#include <sys/endian.h>' | ${CC} -E- >/dev/null 2>&1; then \
2477+
elif echo '#include <sys/endian.h>' | \
2478+
${CC} -E- >/dev/null 2>&1; then \
24772479
echo '#include <sys/endian.h>' >> endian_calc.h; \
24782480
echo '#define CALC_BYTE_ORDER BYTE_ORDER' >> endian_calc.h; \
24792481
else \

0 commit comments

Comments
 (0)