From 3139c3fa6a43f137720b075c8818cc4c2d2a7f91 Mon Sep 17 00:00:00 2001 From: Gabriel Le Breton Date: Sat, 9 Jan 2021 18:30:46 -0500 Subject: [PATCH] Fix macos ping flags closes #28 --- getting started/makefile/app.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/getting started/makefile/app.mk b/getting started/makefile/app.mk index 254d26d..fb41e0e 100644 --- a/getting started/makefile/app.mk +++ b/getting started/makefile/app.mk @@ -134,6 +134,9 @@ endif ifeq ($(HOST_OS),cygwin) # This assumes that the Windows ping command is used, not cygwin's. QUICK_PING_ARGS = -n 1 -w 1000 +else ifeq ($(HOST_OS),macos) + # macos doesn't support -w flag + QUICK_PING_ARGS = -c 1 else # Linux QUICK_PING_ARGS = -c 1 -w 1 endif