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

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

[Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #44346] configure summary shows OpenMP enabled even if not detected
Date: Mon, 23 Feb 2015 13:07:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

Follow-up Comment #4, bug #44346 (project octave):

The generated rules are


LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(AM_LDFLAGS) $(LDFLAGS) -o $@

CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
        $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@


So AM_LDFLAGS and LDFLAGS are shared, but the CFLAGS and CXXFLAGS are separate
and they are passed in the link step.

So I guess it is sufficient to put these flags in AM_CFLAGS and AM_CXXFLAGS
and not worry about LDFLAGS.

I'll do that.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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