[patch #8585] ax_pthread and different CFLAGS and LDFLAGS

Pavel Janík <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/patch/?8585>

                 Summary: ax_pthread and different CFLAGS and LDFLAGS
                 Project: GNU Autoconf Archive
            Submitted by: pj
            Submitted on: Tue 23 Dec 2014 10:02:35 AM CET
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

For the full discussion, see:

https://github.com/bitcoin/bitcoin/pull/5516

Some compilers (e.g. clang on  Mac OS X) want different flags at compile phase
and link phase.

At link phase, clang emits this warning when detected CFLAGS are used also in
the link phase:

clang: warning: argument unused during compilation: '-pthread'

The macros should check for both compile and link phase options and do not
make them the same.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8585>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.