Remove snmp optimisation flag not supported by clang

This commit is contained in:
rfm 2024-04-04 10:04:06 +01:00
parent 6ac8cb1f59
commit b9a0b45253

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')
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')
LIBRARIES_DEPEND_UPON += $(shell net-snmp-config --agent-libs)
endif