octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45280] mkoctfile needs to add XTRA_*FLAGS to


From: Oliver Heimlich
Subject: [Octave-bug-tracker] [bug #45280] mkoctfile needs to add XTRA_*FLAGS to link stage command
Date: Wed, 10 Jun 2015 19:40:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.7.0

Follow-up Comment #13, bug #45280 (project octave):

The intent is to use OpenMP in interval if it is available. I am fine with
using the exact same settings that are used by Octave, which probably is what
the user wants.

You are right, passing “-fopenmp” works just as well as passing
“-lgomp”.

The difference between Debian and Ubuntu is that mkoctfile uses “-fopenmp
-pthread” only in XTRA_CFLAGS on Ubuntu, whereas XTRA_CFLAGS is empty on
Debian and these parameters are in CFLAGS.

So, yes, everything would have worked on Ubuntu, if mkoctfile had used
XTRA_CFLAGS.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45280>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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