filter out bad flag for some compilers

This commit is contained in:
rfm 2024-10-18 12:05:51 +01:00
parent b6dbc6efa6
commit ac4463488f

View file

@ -48,7 +48,7 @@ LIBRARIES_DEPEND_UPON += $(ECCL_LIBS)
# Extras for when building with SNMP support
#
ifeq ($(WITH_NET_SNMP),yes)
EcAlarmSinkSNMP.m_FILE_FLAGS += $(shell net-snmp-config --cflags | sed -e 's/-l[^ ]*//g' | sed -e 's/-fstack-protector-strong//g' -e 's/-ffat//g')
EcAlarmSinkSNMP.m_FILE_FLAGS += $(shell net-snmp-config --cflags | sed -e 's/-l[^ ]*//g' | sed -e 's/-fstack-protector-strong//g' -e 's/-ffat//g' -e 's/-mno-omit//g')
LIBRARIES_DEPEND_UPON += $(shell net-snmp-config --agent-libs)
endif