From a7933083bd9779dbf594fccd66a0487a8b16afa6 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Tue, 10 Oct 2023 17:47:25 +0200 Subject: [PATCH] make: add NDEBUG option to netsurf build In order to remove the debug output from the parser. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0b1cba85..1eab9cc0 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ install-netsurf: install-libiconv ls $(ICONV) 1> /dev/null || (printf "\e[33mERROR: you need to install libiconv in your system (on MacOS on with Homebrew)\e[0m\n"; exit 1;) && \ export PREFIX=$(BC_NS) && \ export OPTLDFLAGS="-L$(ICONV)/lib" && \ - export OPTCFLAGS="-I$(ICONV)/include" && \ + export OPTCFLAGS="-DNDEBUG -I$(ICONV)/include" && \ printf "\e[33mInstalling libwapcaplet...\e[0m\n" && \ cd vendor/netsurf/libwapcaplet && \ BUILDDIR=$(BC_NS)/build/libwapcaplet make install && \