cmdpad: Fix compile 7181/head
authorRosen Penev <rosenp@gmail.com>
Thu, 11 Oct 2018 19:50:00 +0000 (12:50 -0700)
committerGitHub <noreply@github.com>
Thu, 11 Oct 2018 19:50:00 +0000 (12:50 -0700)
Since the switch to GCC7, this has not compiled as it assumes gnu89 behavior.

-fgnu89-inlining is not enough so use std=gnu89.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/cmdpad/Makefile

index 6c7356a406656d654161cc7072b42627a99967c6..a63e9e202620d77f240265b3a16d45856b1f38ee 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=cmdpad
 PKG_VERSION:=0.0.3
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=@SF/cmdpad
@@ -28,6 +28,8 @@ define Package/cmdpad
   URL:=http://cmdpad.sourceforge.net/index.php
 endef
 
+TARGET_CFLAGS += -std=gnu89
+
 CONFIGURE_ARGS += \
        --enable-static \
        --enable-shared