Ticket #31585: erlang.portfile.patch
File erlang.portfile.patch, 647 bytes (added by vkuznet (Valentin Kuznetsov), 13 years ago) |
---|
-
Portfile
old new 110 110 # This is a workaround. 111 111 #patchfiles-append patch-erts_emulator_sys_unix_ddll.c.diff 112 112 configure.ldflags-append -framework CoreFoundation 113 114 # We must build Erlang on LLVM with -O0 (see http://llvm.org/bugs/show_bug.cgi?id=7883 115 # for details). 116 if {${configure.compiler} == "clang"} { 117 configure.compiler llvm-gcc-4.2 118 } 119 120 configure.cflags-delete -O2 121 configure.cxxflags-delete -O2 122 configure.cflags-append -O0 123 configure.cxxflags-append -O0 113 124 } 114 125 115 126 platform macosx {