aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helper/Makefile.am2
-rw-r--r--src/rtos/Makefile.am2
-rw-r--r--src/server/Makefile.am2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/helper/Makefile.am b/src/helper/Makefile.am
index 36238943..e0f7f49b 100644
--- a/src/helper/Makefile.am
+++ b/src/helper/Makefile.am
@@ -37,7 +37,7 @@ else
%C%_libhelper_la_SOURCES += %D%/ioutil_stubs.c
endif
-%C%_libhelper_la_CFLAGS =
+%C%_libhelper_la_CFLAGS = $(AM_CFLAGS)
if IS_MINGW
# FD_* macros are sloppy with their signs on MinGW32 platform
%C%_libhelper_la_CFLAGS += -Wno-sign-compare
diff --git a/src/rtos/Makefile.am b/src/rtos/Makefile.am
index aca266e1..c59ee3f8 100644
--- a/src/rtos/Makefile.am
+++ b/src/rtos/Makefile.am
@@ -24,7 +24,7 @@ noinst_LTLIBRARIES += %D%/librtos.la
%D%/rtos_mqx_stackings.h \
%D%/rtos_ucos_iii_stackings.h
-%C%_librtos_la_CFLAGS =
+%C%_librtos_la_CFLAGS = $(AM_CFLAGS)
if IS_MINGW
# FD_* macros are sloppy with their signs on MinGW32 platform
diff --git a/src/server/Makefile.am b/src/server/Makefile.am
index 5970d031..804efac1 100644
--- a/src/server/Makefile.am
+++ b/src/server/Makefile.am
@@ -10,7 +10,7 @@ noinst_LTLIBRARIES += %D%/libserver.la
%D%/tcl_server.c \
%D%/tcl_server.h
-%C%_libserver_la_CFLAGS =
+%C%_libserver_la_CFLAGS = $(AM_CFLAGS)
if IS_MINGW
# FD_* macros are sloppy with their signs on MinGW32 platform
%C%_libserver_la_CFLAGS += -Wno-sign-compare