[Python-bugs-list] [ python-Bugs-814259 ] LDFLAGS ignored in
Makefile
SourceForge.net
noreply at sourceforge.net
Sun Sep 28 23:51:12 EDT 2003
Bugs item #814259, was opened at 2003-09-28 20:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=814259&group_id=5470
Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Randy Davis (randydavis1)
Assigned to: Nobody/Anonymous (nobody)
Summary: LDFLAGS ignored in Makefile
Initial Comment:
Under IRIX 6.3 gcc 3.2.2, building python results in the
normal IRIX o32/n32 stupidity. However, attempting to
correct it by specifying LDFLAGS of -n32 is ignored.
Inspecting the Makefile produced by configure shows
that the environment variable LDFLAGS is properly
imported and is set as the environment variable is set (in
this case; "LDFLAGS = -n32"). **HOWEVER**, it is
NEVER used on any "ld" command line.
I was able to fix it by changing the lines:
LDSHARED= ld -shared -all
BLDSHARED= ld -shared -all
to:
LDSHARED= ld -shared -all $(LDFLAGS)
BLDSHARED= ld -shared -all $(LDFLAGS)
While I do not profess that this is the best way to fix it,
I do note that the LDFLAGS Makefile variable seems to
be ignored unless this is done. Making this change got
rid of the FATAL ld errors complaining about expecting
o32 binaries but getting n32 versions.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=814259&group_id=5470
More information about the Python-bugs-list
mailing list