tce-load -i compiletc python3.8 libasound-dev libopus-dev libsamplerate-dev readline-dev

wget https://github.com/jackaudio/jack2/releases/download/v1.9.14/jack2-1.9.14.tar.gz

cd jack2-1.9.14

CFLAGS="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXXFLAGS="-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" ./waf configure --prefix=/usr/local

[-fno-exceptions -fno-rtti fails]

find . -name c_config.py -type f -exec sed -i 's/-O3//g' {} \;
find . -name ConfigSet.py -type f -exec sed -i 's/-O3//g' {} \;
find . -name ConfigSet.py -type f -exec sed -i 's/-O2//g' {} \;

./waf --verbose [2m 49.17s]
sudo ./waf install

JACK 1.9.14 svn revision will checked and eventually updated during build
Maximum JACK clients                        : 64 
Maximum ports per application               : 768 
Install prefix                              : /usr/local 
Library directory                           : /usr/local/lib 
Drivers directory                           : /usr/local/lib/jack 
Build debuggable binaries                   : no 
C compiler flags                            : ['-march=armv6zk', '-mtune=arm1176jzf-s', '-mfpu=vfp', '-Os', '-pipe', '-Wall'] 
C++ compiler flags                          : ['-march=armv6zk', '-mtune=arm1176jzf-s', '-mfpu=vfp', '-Os', '-pipe', '-Wall', '-std=gnu++11'] 
Linker flags                                : [] 
Build with engine profiling                 : no 
Build with 32/64 bits mixed mode            : no 
Build standard JACK (jackd)                 : yes 
Build D-Bus JACK (jackdbus)                 : no 
Autostart method                            : classic 
Build doxygen documentation                 : no 
Enable ALSA driver                          : yes 
Enable FireWire driver (FFADO)              : no 
Enable IIO driver                           : no 
Enable Portaudio driver                     : no 
Enable WinMME driver                        : no 
Build with CELT                             : no 
Build Opus netjack2                         : yes 
Build with libsamplerate                    : yes 
Build with libsndfile                       : yes 
Build with readline                         : yes 
Use systemd notify                          : no 
Use Berkeley DB (metadata)                  : no 
