Commit ee01285c authored by Steve Lhomme's avatar Steve Lhomme Committed by Hugo Beauzée-Luyssen

contrib: libdsm: enable debug in builds with no optimizations

maybe we should just add --enable-debug to HOSTCONF when there's no optimization
Signed-off-by: Hugo Beauzée-Luyssen's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 485a1940
......@@ -11,6 +11,11 @@ endif
$(TARBALLS)/libdsm-$(LIBDSM_VERSION).tar.gz:
$(call download,$(LIBDSM_URL))
LIBDSM_CONF = $(HOSTCONF)
ifndef WITH_OPTIMIZATION
LIBDSM_CONF += --enable-debug
endif
.sum-libdsm: libdsm-$(LIBDSM_VERSION).tar.gz
libdsm: libdsm-$(LIBDSM_VERSION).tar.gz .sum-libdsm
......@@ -20,6 +25,6 @@ libdsm: libdsm-$(LIBDSM_VERSION).tar.gz .sum-libdsm
DEPS_libdsm = libtasn1 iconv
.libdsm: libdsm
cd $< && $(HOSTVARS) ./configure --disable-programs $(HOSTCONF)
cd $< && $(HOSTVARS) ./configure --disable-programs $(LIBDSM_CONF)
cd $< && $(MAKE) install
touch $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment