[asterisk-bugs] [Asterisk 0010250]: [patch] allow extra flags for cross compilation
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Sep 6 16:49:12 CDT 2007
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=10250
======================================================================
Reported By: mirabilos
Assigned To: qwell
======================================================================
Project: Asterisk
Issue ID: 10250
Category: Core/BuildSystem
Reproducibility: N/A
Severity: tweak
Priority: normal
Status: resolved
Asterisk Version: 1.4.7.1
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 07-20-2007 05:40 CDT
Last Modified: 09-06-2007 16:49 CDT
======================================================================
Summary: [patch] allow extra flags for cross compilation
Description:
When cross-compiling, it is usually necessary to pass extra
CFLAGS and LDFLAGS to the build system from the parent build
environment, in this case, the FreeWRT ADK (trunk version).
Attached is a patch to provide this ability; feel free to
solve this with a different way though.
Cause of the problem: while CFLAGS and LDFLAGS are passed by
environment, the Makefiles do not add to them with += but
overwrite or just don't use them, so we have to pass them as
an additional make flag.
This patch is currently part of the FreeWRT ADK; I hereby
submit it for inclusion into upstream on behalf of the author,
my employer.
======================================================================
----------------------------------------------------------------------
qwell - 09-06-07 16:49
----------------------------------------------------------------------
As of at revision 81827, 1.4 and trunk support COPTS and LDOPTS variables,
which get added to ASTCFLAGS and ASTLDFLAGS.
Issue History
Date Modified Username Field Change
======================================================================
09-06-07 16:49 qwell Status feedback => resolved
09-06-07 16:49 qwell Resolution open => fixed
09-06-07 16:49 qwell Assigned To => qwell
09-06-07 16:49 qwell Note Added: 0070068
======================================================================
More information about the asterisk-bugs
mailing list