octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible mkoctfile bug on 4.2.0


From: John W. Eaton
Subject: Re: possible mkoctfile bug on 4.2.0
Date: Mon, 16 Jan 2017 09:43:36 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

On 01/16/2017 08:36 AM, Marco Atzeri wrote:
On 16/01/2017 12:25, Marco Atzeri wrote:
Trying to build control package with octave-4.2.0 on cygwin I noticed
that the CXX setting seems to not be preserved:

$ mkoctfile -p CXX
g++ -std=gnu++11

while "-std=gnu++11" seems disappear on invocation by Makefile

Not a bug. mkoctfile propagates previous settings of CXX

 $ CXX="g++" mkoctfile -p CXX
g++

 $ mkoctfile -p CXX
g++ -std=gnu++11

Are you saying that the Makefile in the control package sets CXX to something that leaves out the -std=gnu++11 option? Maybe that option should be handled differently? I don't know what the best solution is.

jwe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]