7436f7c2c0
These libraries override the used CFLAGS without adding the
defaults. This didn't have any effect until change
http://openocd.zylin.com/3870 (ef4c139
). Restore by adding
AM_CLAGS to the per-target CFLAGS.
Interestingly, automake seems to clear the CFLAGS for the target
even if the override variable is only mentioned within a non-active
conditional branch, such as the IS_MINGW for the affected libraries.
Change-Id: I805206865e59e3fa33a7ea3c0d3472e51219351c
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3927
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
20 lines
448 B
Makefile
20 lines
448 B
Makefile
noinst_LTLIBRARIES += %D%/libserver.la
|
|
%C%_libserver_la_SOURCES = \
|
|
%D%/server.c \
|
|
%D%/telnet_server.c \
|
|
%D%/gdb_server.c \
|
|
%D%/server.h \
|
|
%D%/telnet_server.h \
|
|
%D%/gdb_server.h \
|
|
%D%/server_stubs.c \
|
|
%D%/tcl_server.c \
|
|
%D%/tcl_server.h
|
|
|
|
%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
|
|
endif
|
|
|
|
STARTUP_TCL_SRCS += %D%/startup.tcl
|