global: remove gcc 5.2 support
This commit is contained in:
@@ -21,6 +21,4 @@ target_compile_definitions(${COMPONENT_LIB} PUBLIC
|
||||
-DUNITY_INCLUDE_CONFIG_H
|
||||
)
|
||||
|
||||
if(GCC_NOT_5_2_0)
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-unused-const-variable)
|
||||
endif()
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-unused-const-variable)
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
# Component Makefile
|
||||
#
|
||||
|
||||
ifeq ($(GCC_NOT_5_2_0), 1)
|
||||
unity/src/unity.o: CFLAGS += -Wno-unused-const-variable
|
||||
endif
|
||||
|
||||
COMPONENT_ADD_INCLUDEDIRS = include unity/src
|
||||
COMPONENT_SRCDIRS = unity/src .
|
||||
|
||||
Reference in New Issue
Block a user