BUG (minor): ./configure is not handing over parameters correctly to new build script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux