compiled on RPI4 with 5.4.51-piCore-v8 (beta release)

Compile Flags:
CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe"
CXX="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti"
LDFLAGS="-Wl,-O1"
export CC CXX LDFLAGS

Dependencies:
compiletc
automake
glib2-dev
pango-dev
liblzma-dev
libXcursor-dev
librsvg-dev
imlib2-dev
libSM-dev
libICE-dev

Commands:

tar xf openbox-3.6.1.tar.xz

cd openbox-3.6.1

# copy config.gues config.sub

cp /usr/local/share/automake-1.16/config.* .

./configure --prefix=/usr/local --libexecdir=/usr/local/lib/openbox

#Compiling with these options:
#               Startup Notification... no
#               X Cursor Library... yes
#               Session Management... no
#               Imlib2 Library... yes
#               SVG Support (librsvg)... yes

sed -i 's/ -g -O2//g' Makefile

make -j4 ##comepile time: 3 min##