[Top][All Lists]

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

[patch #8585] ax_pthread and different CFLAGS and LDFLAGS

From: Pavel Janík
Subject: [patch #8585] ax_pthread and different CFLAGS and LDFLAGS
Date: Tue, 23 Dec 2014 09:02:36 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5


                 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



For the full discussion, see:

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:


  Message sent via/by Savannah

reply via email to

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