Ticket #46754: llvm-assertions.diff

File llvm-assertions.diff, 853 bytes (added by pguyot (Paul Guyot), 10 years ago)
  • Portfile

     
    140140configure.args          --enable-bindings=none --enable-libffi --enable-shared --enable-jit \
    141141                        --enable-optimized --disable-profiling --enable-pic \
    142142                        --enable-debug-symbols --disable-debug-runtime \
    143                         --prefix="${sub_prefix}"
     143                        --prefix="${sub_prefix}" --disable-assertions
    144144
    145145if {${subport} eq "llvm-${llvm_version}"} {
    146146    select.group        llvm
     
    195195}
    196196
    197197variant assertions description "Enable assertions for error detection (has performance impacts, especially on JIT)" {
     198    configure.args-delete --disable-assertions
    198199    configure.args-append --enable-assertions
    199200}
    200201