[SCM] ardour3/master: Pass env variables to waf

Jonas Smedegaard dr at jones.dk
Tue Sep 24 21:31:41 UTC 2013


Quoting fsateler at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20130924/5ccad9dc/attachment-0001.sig>


More information about the pkg-multimedia-maintainers mailing list