runConfigure does not pass link options to Makefile for AIX platform
--------------------------------------------------------------------
Key: XALANC-470
URL: http://issues.apache.org/jira/browse/XALANC-470
Project: XalanC
Type: Bug
Components: XalanC
Versions: CurrentCVS
Environment: AIX
Reporter: June Ng
Discovered this a while back when doing a build on AIX. runConfigure allows
the user to specify additional link options via the 'l' flag, but it seems that
on AIX, the user provided options are not appended to LDFLAGS.
When link options are passed to runConfigure via the -l flag, they get stored
in $linkeroptions .. which gets passed to
LDFLAGS="$LDFLAGS $linkeroptions $bitstobuildLink"
export LDFLAGS
But in Makefile.incl.in file, very few platforms include the $LDFLAGS in their
link step. For example, on the AIX platform:
MAKE_SHARED = makeC++SharedLib_r -p 512 -brtl ${bitstobuildLink}
LINK = $(CXX) -qnotempinc $(CXXFLAGS) -brtl $(PLATFORM_COMPILE_OPTIONS)
${bitstobuildLink}
No mention of LDFLAGS in the link step. There are only a few platforms that
use LDFLAGS at the link step but the majority of the platforms don't.
This should be cleaned up.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]