[PD-dev] [ pure-data-Bugs-2021648 ] zexy: configure.ac: $LDFLAGS in wrong place

SourceForge.net noreply at sourceforge.net
Mon Jul 21 15:29:45 CEST 2008


Bugs item #2021648, was opened at 2008-07-18 19:05
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2021648&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Federico Ferri (federico__)
>Assigned to: IOhannes m zmlnig (zmoelnig)
Summary: zexy: configure.ac: $LDFLAGS in wrong place

Initial Comment:
line 425 of configure.ac:

LFLAGS=${LDFLAGS}

is wrong.
LDFLAGS are passed to gcc, not to ld.

I have in my LDFLAGS -Wl,-O1, which make ld fail.
ld should only see the -O1 option

make output:

i686-pc-linux-gnu-ld -shared --export-dynamic -Wl,-O1 -o zexy.pd_linux  *.o -lm -lc 
i686-pc-linux-gnu-ld: unrecognized option '-Wl,-O1'
i686-pc-linux-gnu-ld: use the --help option for usage information
make: *** [zexy] Error 1


please fix. (you can fix it by making an empty LFLAGS)

----------------------------------------------------------------------

>Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2008-07-21 15:29

Message:
Logged In: YES 
user_id=564396
Originator: NO

do you have any reference tpo the correct use of LFLAGS vs LDFLAGS?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2021648&group_id=55736




More information about the Pd-dev mailing list