Opened 14 years ago
Closed 14 years ago
#35896 closed defect (fixed)
herbstluftwm: clang: error: cannot use 'dependencies' output with multiple -arch options
| Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | neverpanic (Clemens Lang) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.2 |
| Keywords: | Cc: | ||
| Port: | herbstluftwm |
Description
The universal variant fails:
clang: error: cannot use 'dependencies' output with multiple -arch options
Attachments (3)
Change History (4)
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
comment:1 Changed 14 years ago by neverpanic (Clemens Lang)
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Changed 14 years ago by neverpanic (Clemens Lang)
| Attachment: | patch-Makefile-separate-cppflags.diff added |
|---|
Changed 14 years ago by neverpanic (Clemens Lang)
| Attachment: | patch-config.mk-separate-cppflags.diff added |
|---|
Note: See
TracTickets for help on using
tickets.

The problem is the Makefile uses
$(CFLAGS)to generate dependencies, where it should use$(CPPFLAGS), because-Monly 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).