make LDFLAGS="$(pkg-config --libs libpng libjpeg flac vorbis vorbisfile vorbisenc ogg zlib)"
+ *Alternatively*, resave the JUCE-project with the Debian-packaged 'Projucer'
+ (>=5.4.4~repack0-3) which will take care of adding these libraries (if
+ required) to the LinuxMakefile build.
+
+- When compiling for some embedded architectures (notably 'armel', 'mipsel' and
+ the like), you might need to link against '-latomic'.
+ The following snippet for d/rules can help inject the library on the required
+ architectures:
+
+ # link with libatomic on architectures without built-in atomic
+ noatomicarch = $(shell dpkg-architecture -qDEB_HOST_ARCH | egrep -x "(armel|powerpc|powerpcspe|m68k|mips|mipsel|sh4|riscv64)")
+ ifeq ($(if $(noatomicarch),atomic), atomic)
+ LDFLAGS += -latomic
+ endif
+
+ *Alternatively*, resave the JUCE-project with the Debian-packaged 'Projucer'
+ (>=5.4.4~repack0-3) which will take care of adding the relevant flags to the
+ LinuxMakefile build.
+
- Also be aware, that Projucer generated makefiles usually include
"-march=native", which is mostly not what you want for a generic baseline CPU
build.