From 9bb4fd74fa7b895848c0510adb054074644bac31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Hut=C3=A1r?= Date: Mon, 22 Apr 2024 10:53:04 +0200 Subject: [PATCH] lower compiler optimization flag higher optimization made segmentation fault on some systems --- .env | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 52ab7eb..aded1d4 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -FEITCSI_VERSION=1.1.0 \ No newline at end of file +FEITCSI_VERSION=1.1.1 \ No newline at end of file diff --git a/Makefile b/Makefile index 1ebfe47..bb02b00 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ INCLUDE_LIB_DIRS = INCLUDE_LIB = $(foreach includedir,$(INCLUDE_LIB_DIRS),-L$(includedir)) # Set compiler, preprocesor and linker flags -CXXFLAGS += -g -O3 -Wall -std=c++17 $(CDEFS) $(INCLUDE) +CXXFLAGS += -g -O1 -Wall -std=c++17 $(CDEFS) $(INCLUDE) CPPFLAGS += `pkg-config --cflags gtkmm-3.0 libnl-3.0 libnl-genl-3.0 libpcap` LDFLAGS += $(INCLUDE_LIB) LDLIBS += `pkg-config --libs gtkmm-3.0 libnl-3.0 libnl-genl-3.0 libpcap`