make: add NDEBUG option to netsurf build

In order to remove the debug output from the parser.
This commit is contained in:
Pierre Tachoire
2023-10-10 17:47:25 +02:00
parent 3ad5233b18
commit a7933083bd

View File

@@ -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 && \