[Top][All Lists]

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

AX_CHECK_ENABLE_DEBUG([no]) clears -O2 flag

From: Jens Georg
Subject: AX_CHECK_ENABLE_DEBUG([no]) clears -O2 flag
Date: Tue, 14 Mar 2017 11:29:41 +0100
User-agent: Roundcube Webmail/1.2.1


the AX_CHECK_ENABLE_DEBUG macro, when run with "no", deliberately sets the CFLAGS variable to an empty value.

This causes the AC_PROG_CC (or AX_CC_MAXOPT) checks later to discard their result in favor of the apparently externally supplied CFLAGS.

Is this behavior intentional? (I mean apart from clearing the -g from the default options)

Is there a work-around?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]