l4t-graphics-demos: make buildable with gcc 15

via adding -std=gnu17 to the compiler flags.

Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
Matt Madison
2025-05-01 09:12:28 -07:00
parent 7608aaf47a
commit 21623405ce

View File

@@ -38,7 +38,7 @@ do_configure() {
do_compile() {
for winsys in egldevice ${PACKAGECONFIG}; do
cflags="-isystem${S}/include -I${S}/nvgldemo -I${S}/nvtexfont -I${S}/gears-lib -I=${includedir}/libdrm/nvidia"
cflags="-std=gnu17 -isystem${S}/include -I${S}/nvgldemo -I${S}/nvtexfont -I${S}/gears-lib -I=${includedir}/libdrm/nvidia"
ldflags="-ldl"
extra=
case $winsys in