surge-xt: fix build with GCC 13

This commit is contained in:
Jan Solanti 2024-01-13 02:02:08 +02:00
parent 5746f26d7a
commit 0a9221a0c7

View file

@ -71,6 +71,11 @@ stdenv.mkDerivation rec {
"-DSURGE_JUCE_PATH=${juce-lv2}"
];
CXXFLAGS = [
# GCC 13: error: 'uint32_t' has not been declared
"-include cstdint"
];
# JUCE dlopen's these at runtime, crashes without them
NIX_LDFLAGS = (toString [
"-lX11"