Thanks ;) But for debian packaging it is not expected to set environment variables and you do the following: debian/rules dh_override_auto_configure: dh_auto_configure -- CFLAGS="Put your additional flags here". And this calls ./configure CFLAGS="..." One Source: http://www.mail-archive.com/debian-bugs-closed at lists.debian.org/msg389486.html So, to be in line with common standards this should be fixed (I dont like workarounds) Viele Gr??e --- Dennis Guse --- Dennis Guse On Thu, Jul 25, 2013 at 8:21 AM, Andreas Wehrmann <andreas_wehrmann at yahoo.at > wrote: > > On 07/24/2013 06:07 PM, Dennis Guse wrote: > >> BUG (minor): ./configure is not handing over parameters correctly to new >> build script >> >> Example: >> $./configure CFLAGS="-O2 -g" >> aconfigure error: unrecognized option: '-g' >> Try './aconfigure --help' for more information >> >> Fix: >> Change configure:2 to >> ./aconfigure "$*" >> >> or replace ./configure through ./aconfigure >> --- >> Dennis Guse >> >> CFLAGS must be put in front of configure (to set them in the > environment); this works for me: > > CFLAGS="-g -DNDEBUG -O2" ./configure > > Regards, > Andreas > > > ______________________________**_________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/**mailman/listinfo/pjsip_lists.**pjsip.org<http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130731/a3b4aec4/attachment-0001.html>