Browse Source

cmdpad: Fix compile

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>
lilik-openwrt-22.03
Rosen Penev 6 years ago
committed by GitHub
parent
commit
a9f8712e63
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      utils/cmdpad/Makefile

+ 3
- 1
utils/cmdpad/Makefile View 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


Loading…
Cancel
Save