mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 11:32:30 +00:00
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:
@@ -38,7 +38,7 @@ do_configure() {
|
|||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
for winsys in egldevice ${PACKAGECONFIG}; do
|
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"
|
ldflags="-ldl"
|
||||||
extra=
|
extra=
|
||||||
case $winsys in
|
case $winsys in
|
||||||
|
|||||||
Reference in New Issue
Block a user