From ac4463488f677315a4f9ca4a79ffb2cd524046ac Mon Sep 17 00:00:00 2001 From: rfm Date: Fri, 18 Oct 2024 12:05:51 +0100 Subject: [PATCH] filter out bad flag for some compilers --- GNUmakefile.preamble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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