argp-standalone: fix compilation with Alpine Linux

This package is a C89 one. Add the proper CFLAG to fix compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2022-03-09 22:31:14 -08:00 committed by AmadeusGhost
parent a77acbd16d
commit a75b0a9c1b

View File

@ -33,8 +33,10 @@ define Package/argp-standalone/description
endef
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS) $(FPIC)"
CFLAGS="$(TARGET_CFLAGS) $(FPIC) -std=gnu89"
HOST_MAKE_FLAGS += \
CFLAGS="$(HOST_CFLAGS) $(FPIC) -std=gnu89"
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include