[MacPorts] #60291: clang-devel @devel-r365158_1+analyzer+assertions+libstdcxx re-build failure

MacPorts noreply at macports.org
Sat Apr 4 22:37:08 UTC 2020


#60291: clang-devel @devel-r365158_1+analyzer+assertions+libstdcxx re-build failure
--------------------------+----------------------
  Reporter:  cave-canem   |      Owner:  jeremyhu
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.99
Resolution:  worksforme   |   Keywords:
      Port:  clang-devel  |
--------------------------+----------------------

Comment (by kencu):

 Glad it works. MacPorts is very powerful, and helps these older systems a
 lot.

 To change the optflags, you need to edit the port's Portfile, like this:
 {{{
 bbedit `port file MYPORT`
 }}}
 if there are already optflags written into the portfile, you can change
 them.
 {{{
 configure.optflags -03
 #or whatever
 }}}
 otherwise add the line yourself.

 It doesn't always work, depending on the build system, but it will work
 with a large majority of ports.

 To see what ports do when that doesn't work, go to the top of the port
 tree, for example like this:
 {{{
 cd `port dir llvm-3.7`/../../
 }}}
 and take a look around with your searcher of choice. I like
 {{{the_silver_searcher}}} so I would do
 {{{
 ag configure.optflags .
 }}}
 and you can see what others have done in various ports to monkey with
 optflags.

-- 
Ticket URL: <https://trac.macports.org/ticket/60291#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list