[MacPorts] #35896: herbstluftwm: clang: error: cannot use 'dependencies' output with multiple -arch options

MacPorts noreply at macports.org
Thu Aug 30 01:03:17 PDT 2012


#35896: herbstluftwm: clang: error: cannot use 'dependencies' output with multiple
-arch options
--------------------------------------+-------------------------------------
  Reporter:  ryandesign@…             |       Owner:  cal@…           
      Type:  defect                   |      Status:  closed          
  Priority:  Normal                   |   Milestone:                  
 Component:  ports                    |     Version:  2.1.2           
Resolution:  fixed                    |    Keywords:                  
      Port:  herbstluftwm             |  
--------------------------------------+-------------------------------------
Changes (by cal@…):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 The problem is the Makefile uses `$(CFLAGS)` to generate dependencies,
 where it should use `$(CPPFLAGS)`, because `-M` only runs the preprocessor
 and passing compiler options (like `-arch`) to the preprocessor doesn't
 work.

 The attached patches fix this (I'm uploading them for upstream, they have
 already been applied in r97205).

-- 
Ticket URL: <https://trac.macports.org/ticket/35896#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list