summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMing Yue <mingyue86010@gmail.com>2020-09-08 18:24:28 -0700
committerGitHub <noreply@github.com>2020-09-08 18:24:28 -0700
commit8ada8156e0d98c2fe48f21e3fdea121380b72012 (patch)
tree8570ea1df7e7d3a69259917e99c9950111d7bdb6
parent27d341e5ab75ea9e75351f9f43ccadec451a5634 (diff)
downloadfreertos-git-8ada8156e0d98c2fe48f21e3fdea121380b72012.tar.gz
Fix the Posix port demo libpcap lib linking order issue in staic linking for WSL. (#251)
-rw-r--r--FreeRTOS/Demo/Posix_GCC/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeRTOS/Demo/Posix_GCC/Makefile b/FreeRTOS/Demo/Posix_GCC/Makefile
index 0d62070ad..eea293c69 100644
--- a/FreeRTOS/Demo/Posix_GCC/Makefile
+++ b/FreeRTOS/Demo/Posix_GCC/Makefile
@@ -85,7 +85,7 @@ ${BIN} : $(BUILD_DIR)/$(BIN)
${BUILD_DIR}/${BIN} : ${OBJ_FILES}
-mkdir -p ${@D}
- $(CC) $(CFLAGS) $(INCLUDE_DIRS) ${LDFLAGS} $^ -o $@
+ $(CC) $^ $(CFLAGS) $(INCLUDE_DIRS) ${LDFLAGS} -o $@
-include ${DEP_FILE}