[MacPorts] #36478: Build fix for gdb when using clang with ccache

MacPorts noreply at macports.org
Thu Oct 4 23:19:51 PDT 2012


#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


More information about the macports-tickets mailing list