[MacPorts] #46754: llvm-3.6 does not recognize -assertions

MacPorts noreply at macports.org
Wed Feb 4 02:20:49 PST 2015


#46754: llvm-3.6 does not recognize -assertions
----------------------+------------------------
 Reporter:  pguyot@…  |      Owner:  jeremyhu@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.3
 Keywords:            |       Port:  llvm
----------------------+------------------------
 Even when {{{-assertions}}} is passed, assertion mode is ON.

 I believe {{{--enable-assertions}}} is NOP and {{{--disable-assertions}}}
 should be passed instead as assertions are enabled by default.
 This probably is also the case with other versions of llvm.

 {{{./configure --help}}} indeed prints:

 {{{
   --enable-assertions     Compile with assertion checks enabled (default
 is
                           YES)
 }}}

 A patch is attached that fixes this. I didn't bump {{{revision}}}, though.

-- 
Ticket URL: <https://trac.macports.org/ticket/46754>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list