From 4ea61c1941ce77b3b919e9088c3291a04d20533a Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 18 Nov 2025 16:02:58 +0800
Subject: [PATCH] update apue makefile for -Wall

---
 project/4.mqttd/makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/project/4.mqttd/makefile b/project/4.mqttd/makefile
index c55ec31..6b13ffc 100644
--- a/project/4.mqttd/makefile
+++ b/project/4.mqttd/makefile
@@ -50,7 +50,7 @@
 	@echo "Building ${APP_NAME} on ${BUILD_ARCH}"
 
 subdir:
-	@for dir in ${libs} ;  do make -C $${dir} ; done
+	@for dir in ${libs} ;  do CFLAGS="${CFLAGS}" make -C $${dir} ; done
 
 install:
 	cp ${APP_NAME} /tftp

--
Gitblit v1.9.1