Opened 2 years ago
Closed 2 years ago
#65499 closed defect (fixed)
libgcc12 @12.1.0_3+stdlib_flag+universal Universal build broken
Reported by: | johnrosshunt | Owned by: | Chris Jones <jonesc@…> |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | haspatch | Cc: | |
Port: | libgcc12 gcc12 |
Description
libgcc12/gcc12 universal build fails on Snow Leopard (and presumably other platforms). The following patch fixes universal builds for me.
diff -urN Portfile.old Portfile --- Portfile.old 2022-07-16 18:38:02.037436722 -0500 +++ Portfile 2022-07-17 09:38:58.800365312 -0500 @@ -426,9 +426,11 @@ # the generated compiler doesn't accept -arch configure.env-append \ "CPP=${configure.cc} -E" \ + "CPP_FOR_BUILD=${configure.cc} -E" \ "CXXCPP=${configure.cxx} -E" build.env-append \ "CPP=${configure.cc} -E" \ + "CPP_FOR_BUILD=${configure.cc} -E" \ "CXXCPP=${configure.cxx} -E" configure.cc-append [get_canonical_archflags] configure.cc_archflags
Attachments (3)
Change History (4)
Changed 2 years ago by johnrosshunt
Attachment: | main.log.gz added |
---|
comment:1 Changed 2 years ago by Chris Jones <jonesc@…>
Owner: | set to Chris Jones <jonesc@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
main.log