-
Notifications
You must be signed in to change notification settings - Fork 549
Expand file tree
/
Copy pathgc.mk
More file actions
21 lines (19 loc) · 804 Bytes
/
gc.mk
File metadata and controls
21 lines (19 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := gc
$(PKG)_WEBSITE := https://github.com/ivmai/bdwgc
$(PKG)_IGNORE :=
$(PKG)_VERSION := 8.2.12
$(PKG)_CHECKSUM := 42e5194ad06ab6ffb806c83eb99c03462b495d979cda782f3c72c08af833cd4e
$(PKG)_GH_CONF := ivmai/bdwgc/releases/latest,v
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_URL := https://github.com/ivmai/bdwgc/releases/download/v$($(PKG)_VERSION)/$($(PKG)_SUBDIR).tar.gz
$(PKG)_DEPS := cc libatomic_ops
define $(PKG)_BUILD
# build and install the library
cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
$(MXE_CONFIGURE_OPTS) \
--enable-threads=win32 \
--enable-cplusplus
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
endef