Quoting fsate...@users.alioth.debian.org (2013-09-24 16:33:18)
>  DEB_MAKE_EXTRA_ARGS = -v --destdir=$(CURDIR)/debian/tmp
>  DEB_MAKE_BUILD_TARGET = build i18n_mo
> +DEB_MAKE_ENVVARS = CFLAGS="$(or $(CFLAGS_$(cdbs_curpkg)),$(CFLAGS))" 
> CXXFLAGS="$(or $(CXXFLAGS_$(cdbs_curpkg)),$(CXXFLAGS))" CPPFLAGS="$(or 
> $(CPPFLAGS_$(cdbs_curpkg)),$(CPPFLAGS))" LDFLAGS="$(or 
> $(LDFLAGS_$(cdbs_curpkg)),$(LDFLAGS))"

Above is needlessly complex (unlike CDBS snippets, this rules file has 
no need for supporting per-package override variables).

This should suffice:

  DEB_MAKE_ENVVARS = CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" 
CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"

...but some flags are declared differently in CDBS waf.mk snippet.  
Possibly of relevance...


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to