[vlc-commits] contrib: libdsm: enable debug in builds with no optimizations
Steve Lhomme
git at videolan.org
Wed Jun 15 13:34:57 CEST 2016
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Wed Jun 15 12:45:57 2016 +0200| [ee01285ced34e902b46829915830915ebcb8d785] | committer: 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 <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ee01285ced34e902b46829915830915ebcb8d785
---
contrib/src/libdsm/rules.mak | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/contrib/src/libdsm/rules.mak b/contrib/src/libdsm/rules.mak
index bf42e44..e1227b3 100644
--- a/contrib/src/libdsm/rules.mak
+++ b/contrib/src/libdsm/rules.mak
@@ -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 $@
More information about the vlc-commits
mailing list