openocd: build: add SPDX tag
[fw/openocd] / src / rtos / Makefile.am
index 49cb830e5aedbe09fa58a2f48c4f369b7106dec7..f00d7194ed4659116aebc8d75f04add88ddc1655 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 noinst_LTLIBRARIES += %D%/librtos.la
 %C%_librtos_la_SOURCES = \
        %D%/rtos.c \
@@ -31,10 +33,3 @@ noinst_LTLIBRARIES += %D%/librtos.la
        %D%/rtos_riot_stackings.h \
        %D%/rtos_ucos_iii_stackings.h \
        %D%/nuttx_header.h
-
-%C%_librtos_la_CFLAGS = $(AM_CFLAGS)
-
-if IS_MINGW
-# FD_* macros are sloppy with their signs on MinGW32 platform
-%C%_librtos_la_CFLAGS += -Wno-sign-compare
-endif