diff --git a/GNUmakefile.preamble b/GNUmakefile.preamble index 2e51210..36f6386 100644 --- a/GNUmakefile.preamble +++ b/GNUmakefile.preamble @@ -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