[MacPorts] #36478: Build fix for gdb when using clang with ccache
#36478: Build fix for gdb when using clang with ccache -----------------------+-------------------------------- Reporter: manphiz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gdb -----------------------+-------------------------------- The attached patch disables "-Werror" which results in build failure when using clang with ccache. The root for this problem is that ccache passes CFLAGS to preprocessor and clang spits "unused arguments" warnings, which then upgraded to errors. Before ccache supports clang, it will be better to turn off this configure switch. Note that this is NOT related to #36472. -- Ticket URL: <https://trac.macports.org/ticket/36478> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36478: Build fix for gdb when using clang with ccache ------------------------+-------------------------------- Reporter: manphiz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gdb | ------------------------+-------------------------------- Comment (by manphiz@…): Sorry I forgot the CC the maintainer dweber. Where can I add this after submitting the bug? -- Ticket URL: <https://trac.macports.org/ticket/36478#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36478: gdb: disable -Werror to fix build with clang + ccache ------------------------+---------------------- Reporter: manphiz@… | Owner: dweber@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: gdb | ------------------------+---------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => dweber@… * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/36478#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36478: gdb: disable -Werror to fix build with clang + ccache ------------------------+---------------------- Reporter: manphiz@… | Owner: dweber@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: haspatch Port: gdb | ------------------------+---------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r99303 -- Ticket URL: <https://trac.macports.org/ticket/36478#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts