2018-09-02 14:16:21 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Preparation
|
2019-11-21 00:13:01 +02:00
|
|
|
_FLAGS="-Wno-attributes -Wno-deprecated-declarations -Werror -DBUILDING_FOR_CI"
|
2018-09-02 14:16:21 +03:00
|
|
|
export CFLAGS="${_FLAGS}"
|
|
|
|
export CXXFLAGS="${_FLAGS}"
|
|
|
|
export MACOS_OLD=true
|
|
|
|
export CROSS_COMPILING=true
|
2018-09-02 22:17:58 +03:00
|
|
|
. /usr/bin/apple-cross-setup.env
|
2018-09-02 14:16:21 +03:00
|
|
|
|
|
|
|
# Start clean
|
|
|
|
make distclean >/dev/null
|
|
|
|
|
|
|
|
# Print available features
|
|
|
|
make features
|
|
|
|
|
|
|
|
# Build native stuff
|
2020-04-22 08:28:40 +03:00
|
|
|
make
|