From 2467d0046e6ec906379af26c0dc46cdc98e39c89 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Thu, 4 Mar 2021 14:06:39 +0000 Subject: [PATCH] more debug info --- codecs/avif/Makefile | 3 +++ codecs/avif/helper.Makefile | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/codecs/avif/Makefile b/codecs/avif/Makefile index c55125f1..6f606106 100644 --- a/codecs/avif/Makefile +++ b/codecs/avif/Makefile @@ -8,6 +8,9 @@ export CODEC_DIR = node_modules/libavif export BUILD_DIR = node_modules/build export LIBAOM_DIR = node_modules/libaom +export CFLAGS += -g +export CXXFLAGS += -g + OUT_ENC_JS = enc/avif_enc.js OUT_NODE_ENC_JS = enc/avif_node_enc.js OUT_ENC_MT_JS = enc/avif_enc_mt.js diff --git a/codecs/avif/helper.Makefile b/codecs/avif/helper.Makefile index ba0fd97f..aba48a42 100644 --- a/codecs/avif/helper.Makefile +++ b/codecs/avif/helper.Makefile @@ -43,7 +43,7 @@ $(OUT_JS): $(OUT_CPP) $(LIBAOM_OUT) $(CODEC_OUT) $(CODEC_OUT): $(CODEC_DIR)/CMakeLists.txt $(LIBAOM_OUT) emcmake cmake \ - -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DBUILD_SHARED_LIBS=0 \ -DAVIF_CODEC_AOM=1 \ -DAOM_LIBRARY=$(LIBAOM_OUT) \ @@ -55,7 +55,7 @@ $(CODEC_OUT): $(CODEC_DIR)/CMakeLists.txt $(LIBAOM_OUT) $(LIBAOM_OUT): $(LIBAOM_DIR)/CMakeLists.txt emcmake cmake \ - -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DENABLE_CCACHE=0 \ -DAOM_TARGET_CPU=generic \ -DENABLE_DOCS=0 \