diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index d8bd4b9f7..86423da66 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -111,6 +111,7 @@ define Build/Compile $(MAKE) TARGET=$(LINUX_TARGET) -C $(PKG_BUILD_DIR)/lua \ INSTALL_TOP="$(STAGING_DIR)/lua-5.3.3/" \ CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS) -lncurses -lreadline" \ LD="$(TARGET_LD)" \ linux install