[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLA
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS |
Date: |
Tue, 2 Aug 2016 01:15:35 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
URL:
<http://savannah.gnu.org/bugs/?48678>
Summary: mkoctfile returns linker flags on LFLAGS instead of
LDFLAGS
Project: GNU Octave
Submitted by: carandraug
Submitted on: Tue 02 Aug 2016 01:15:32 AM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
>From the Make manual
https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
LDFLAGS
Extra flags to give to compilers when they are supposed to invoke the
linker, ‘ld’, such as -L.
[...]
LFLAGS
Extra flags to give to Lex.
However, mkoctfile includes the LDFLAGS into LFLAGS instead
$ mkoctfile -p LFLAGS
-L/home/carandraug/.local/lib/octave/4.1.0+ -L/home/carandraug/.local/lib
$ mkoctfile -p LDFLAGS
This is bug is also present in Octave 4.0.1 (and possibly in previous
versions)
$ /usr/local/bin/mkoctfile -p LFLAGS
-L/usr/local/lib/octave/4.0.1 -L/usr/local/lib
$ /usr/local/bin/mkoctfile -p LDFLAGS
and so there's backwards compatibility implications about fixing this. But
since mkoctifle does not handle lex, it would be possible to keep using
LDFLAGS incorrectly for a few versions, before removing LFLAGS completely.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48678>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS,
Carnë Draug <=
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS, Rik, 2016/08/11
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS, Carnë Draug, 2016/08/13
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS, Rik, 2016/08/13
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS, John W. Eaton, 2016/08/13
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS, Mike Miller, 2016/08/13
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS, Carnë Draug, 2016/08/13
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS, John W. Eaton, 2016/08/13
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS, Carnë Draug, 2016/08/13
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS, Rik, 2016/08/14
- [Octave-bug-tracker] [bug #48678] mkoctfile returns linker flags on LFLAGS instead of LDFLAGS, Carnë Draug, 2016/08/14