<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/24 Felipe Sateler <span dir="ltr"><<a href="mailto:fsateler@debian.org" target="_blank">fsateler@debian.org</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class=""><div class="h5">On Tue, Sep 24, 2013 at 5:01 PM, Jaromír Mikeš <<a href="mailto:mira.mikes@gmail.com">mira.mikes@gmail.com</a>> wrote:<br>
> 2013/9/24 Felipe Sateler <<a href="mailto:fsateler@debian.org">fsateler@debian.org</a>><br>
>> On Tue, Sep 24, 2013 at 11:33 AM, <<a href="mailto:fsateler@users.alioth.debian.org">fsateler@users.alioth.debian.org</a>><br>
>> ><br>
>> > Pass env variables to waf<br>
>><br>
>> For some reason this works for LDFLAGS but not CFLAGS or CXXFLAGS. Any<br>
>> ideas on why waf decides to ignore them? They are supposed to work...<br>
><br>
> I've encountered this problem when tried fix hardening too :(<br>
> Maybe we can try update waf-light from 1.6.11 (Feb 2012) to current 1.7.13,<br>
> but reading waf upstream changelog I can't find nothing related to this<br>
> issue.
<br>
</div></div><br>
Can you try updating the waf-light script and seeing if *FLAGS are<br>
respected?</blockquote></div><br></div><div class="gmail_extra">Having some troubles updating waf-light :(<br><br>CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" /tmp/buildd/ardour3-3.4~dfsg/waf-light -v --destdir=/tmp/buildd/ardour3-3.4~dfsg/debian/tmp configure --lv2 --lxvst --freedesktop --configdir=/etc/ --noconfirm --prefix=/usr/ --no-phone-home --dist-target=x86_64<br>
Waf: The wscript in '/tmp/buildd/ardour3-3.4~dfsg' is unreadable<br>Traceback (most recent call last):<br> File "/tmp/buildd/ardour3-3.4~dfsg/waflib/Scripting.py", line 121, in waf_entry_point<br> set_main_module(Context.run_dir + os.sep + Context.WSCRIPT_FILE)<br>
File "/tmp/buildd/ardour3-3.4~dfsg/waflib/Scripting.py", line 163, in set_main_module<br> Context.g_module = Context.load_module(file_path)<br> File "/tmp/buildd/ardour3-3.4~dfsg/waflib/Context.py", line 565, in load_module<br>
exec(compile(code, path, 'exec'), module.__dict__)<br> File "/tmp/buildd/ardour3-3.4~dfsg/wscript", line 2, in <module><br> from waflib.extras import autowaf as autowaf<br>ImportError: cannot import name autowaf<br>
make: *** [debian/stamp-waf-configure] Error 2<br><br>----------------<br><br></div><div class="gmail_extra">waf.patch in attachment<br></div></div>