Guo Wenxue
2019-06-26 74d93589a9de6c6c5158f122a2f73f6877a6317f
update mqttd program, fix rpi build bug for strcasestr()
2 files modified
5 ■■■■■ changed files
mqttd/main.c 1 ●●●● patch | view | raw | blame | history
mqttd/makefile 4 ●●●● patch | view | raw | blame | history
mqttd/main.c
@@ -15,6 +15,7 @@
#include <unistd.h>
#include <getopt.h>
#include <libgen.h>
#include <string.h>
#include <mosquitto.h>
mqttd/makefile
@@ -34,7 +34,7 @@
export AS=${CROSS_COMPILE}as
export RANLIB=${CROSS_COMPILE}ranlib
export STRIP=${CROSS_COMPILE}strip
export CFLAGS
export CFLAGS+=-D_GNU_SOURCE
export LDFLAGS
@@ -56,7 +56,7 @@
modules:
    make -C hal
    make -C lylib
    make ${CFLAGS} -C etc
    make -C etc
    cd ${MQTT_LIBPATH} && bash build.sh
binary:  ${SRCFILES}