openmpi: fix build error for openmpi
This commit is contained in:
parent
c6979c6a7e
commit
6eb7e81903
@ -14,4 +14,8 @@ termux_step_pre_configure () {
|
||||
# rindex is an obsolete version of strrchr which is not available in Android:
|
||||
CFLAGS+=" -Drindex=strrchr -Dbcmp=memcmp"
|
||||
LDFLAGS+=" -llog"
|
||||
if [ $TERMUX_ARCH == "i686" ]; then
|
||||
# fails with "undefined reference to __atomic..."
|
||||
LDFLAGS+=" -latomic"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user