ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / developer / gcc-7 / Makefile
blob79481b07cdad4c373c66b2b345e882924c976d59
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2013 Andrzej Szeszo. All rights reserved.
14 # Copyright 2016-2019 Aurelien Larcher. All rights reserved.
17 BUILD_BITS=32
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_VERSION= 7.5.0
21 ILLUMOS_GCC_REVISION= 0
22 COMPONENT_REVISION= 9
23 COMPONENT_SRC_NAME= gcc-$(COMPONENT_VERSION)-oi-$(ILLUMOS_GCC_REVISION)
24 COMPONENT_SRC= gcc-$(COMPONENT_SRC_NAME)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC_NAME).tar.gz
26 COMPONENT_ARCHIVE_URL= \
27 https://github.com/OpenIndiana/gcc/archive/$(COMPONENT_ARCHIVE)
29 COMPONENT_ARCHIVE_HASH= \
30 sha256:24e3f9dd8348b9172015bc50be9fb5af0403f9eff97cc21066df8d722e1710db
32 MPFR_VERSION=4.0.2
33 MPFR_ARCHIVE_HASH= \
34 sha256:c05e3f02d09e0e9019384cdd58e0f19c64e6db1fd6f5ecf77b4b1c61ca253acc
36 MPC_VERSION=1.1.0
37 MPC_ARCHIVE_HASH= \
38 sha256:6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e
40 GMP_VERSION=6.1.2
41 GMP_ARCHIVE_HASH= \
42 sha256:5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2
45 include $(WS_MAKE_RULES)/gcc-component.mk
47 CONFIGURE_OPTIONS+= --enable-plugins
48 CONFIGURE_OPTIONS+= --enable-objc-gc
49 CONFIGURE_OPTIONS.i386+= --enable-initfini-array
50 CONFIGURE_OPTIONS+= --enable-languages=c,c++,fortran,lto,objc
51 CONFIGURE_OPTIONS+= --disable-libitm
52 CONFIGURE_OPTIONS+= enable_frame_pointer=yes
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES += library/gc