diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb index d66b7d2390..4e5b45891d 100644 --- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb @@ -48,7 +48,7 @@ SYSTEMD_AUTO_ENABLE = "disable" DEPENDS += "libtirpc" CPPFLAGS += "-I${STAGING_INCDIR}/tirpc" -CFLAGS += "-I${STAGING_INCDIR}/tirpc" +CFLAGS += "-I${STAGING_INCDIR}/tirpc -std=gnu17" LDFLAGS += "-ltirpc" PARALLEL_MAKE = ""