Browse Source

tinyx: avoid compilation error with gcc 15.x

Waldemar Brodkorb 3 weeks ago
parent
commit
f82a4500c0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/tinyx/Makefile

+ 1 - 0
package/tinyx/Makefile

@@ -31,6 +31,7 @@ $(eval $(call PKG_template,TINYX,tinyx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPEN
 
 
 AUTOTOOL_STYLE:=	autoreconf
 AUTOTOOL_STYLE:=	autoreconf
 CONFIGURE_ARGS+=	--with-fontdir=/usr/share/fonts/X11
 CONFIGURE_ARGS+=	--with-fontdir=/usr/share/fonts/X11
+TARGET_CFLAGS+=		-std=gnu89
 
 
 tinyx-install:
 tinyx-install:
 	$(INSTALL_DIR) $(IDIR_TINYX)/usr/bin
 	$(INSTALL_DIR) $(IDIR_TINYX)/usr/bin