Closed niamtokik closed 4 years ago
Thank you for your contribution!
Actually regarding the second part of your patch, I believe rebar does a regex check on the first item, so do you mind checking if the following would work instead, for brevity:
{"openbsd|freebsd|dragonfly", "CXXFLAGS", "$CXXFLAGS -std=c++11 -DHAVE_SETRESUID" ++ X64},
{"openbsd|freebsd|dragonfly", "LDFLAGS", "$LDFLAGS" ++ X64},
It seems
erlexec
does not compile well on OpenBSD-current (67+) at this time:I added the openbsd support. unfortunately, rebar3 pc plugin does not support OpenBSD as well, so you need to set CXX variable to c++ (clang/llvm default compiler on OpenBSD):
or