Opened 10 years ago
Last modified 10 years ago
#46754 closed defect
llvm-3.6 does not recognize -assertions — at Initial Version
Reported by: | pguyot (Paul Guyot) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | llvm-3.3 llvm-3.4 llvm-3.5 llvm-3.6 llvm-3.7 |
Description
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.
Change History (1)
Changed 10 years ago by pguyot (Paul Guyot)
Attachment: | llvm-assertions.diff added |
---|
Note: See
TracTickets for help on using
tickets.