2020-12-23 01:16:17 -08:00
|
|
|
#
|
2015-06-23 05:21:45 +00:00
|
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
2006-12-11 16:42:57 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ccache
|
2024-06-10 12:31:49 +02:00
|
|
|
PKG_VERSION:=4.10
|
2006-12-11 16:42:57 +00:00
|
|
|
|
2024-04-03 19:12:57 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2019-04-29 13:26:36 +08:00
|
|
|
PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
|
2024-06-10 12:31:49 +02:00
|
|
|
PKG_HASH:=16972ba62c8499045edc3ae7d7b8a0b419a961567f5ff0f01bf5a44194204775
|
2006-12-11 16:42:57 +00:00
|
|
|
|
2020-12-18 16:22:29 -08:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2020-12-23 01:16:17 -08:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2020-12-22 20:38:13 +01:00
|
|
|
|
2020-12-23 01:16:17 -08:00
|
|
|
CMAKE_HOST_OPTIONS += \
|
|
|
|
-DCMAKE_C_COMPILER_LAUNCHER="" \
|
2021-01-09 22:04:48 +00:00
|
|
|
-DCMAKE_CXX_COMPILER_LAUNCHER="" \
|
|
|
|
-DCMAKE_SKIP_RPATH=FALSE \
|
|
|
|
-DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOST}/lib" \
|
2023-09-24 11:29:39 +03:00
|
|
|
-DENABLE_DOCUMENTATION=OFF \
|
2021-10-04 18:37:34 -07:00
|
|
|
-DREDIS_STORAGE_BACKEND=OFF
|
2021-01-09 22:04:48 +00:00
|
|
|
|
2006-12-11 16:42:57 +00:00
|
|
|
$(eval $(call HostBuild))
|