diff --git a/src/helper/Makefile.am b/src/helper/Makefile.am index 362389436..e0f7f49bb 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 aca266e18..c59ee3f8c 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 5970d0314..804efac16 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