mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
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:
parent
e8a0c55909
commit
80b88b083a
@ -34,8 +34,10 @@ define Package/argp-standalone/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
CFLAGS="$(TARGET_CFLAGS) $(FPIC)"
|
CFLAGS="$(TARGET_CFLAGS) $(FPIC) -std=gnu89"
|
||||||
|
|
||||||
|
HOST_MAKE_FLAGS += \
|
||||||
|
CFLAGS="$(HOST_CFLAGS) $(FPIC) -std=gnu89"
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
|
Loading…
Reference in New Issue
Block a user