summaryrefslogtreecommitdiff
path: root/packages/gmp/gmp-canadian_4.2.4.bb
blob: 27d179a569a9a8d814c1ac9bcfcc615816eec668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PV = "4.2.4"
require gmp_${PV}.bb

FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gmp-${PV}"
S = "${WORKDIR}/gmp-${PV}"

inherit canadian-native

# darwin 'hacks'
EXTRA_OECONF_build-darwin = " --enable-shared "
OLD_STAGING := "${STAGING_BINDIR}"
OLD_TARGET  := "${TARGET_SYS}"
OLD_HOST    := "${HOST_SYS}"
OLD_BUILD   := "${BUILD_SYS}"

PATH_prepend_build-darwin = "${OLD_STAGING}/${OLD_HOST}:${OLD_STAGING}:"

TARGET_SYS_build-darwin   = "none-apple-darwin"
HOST_SYS_build-darwin     = "none-apple-darwin"
BUILD_SYS_build-darwin    = "none-apple-darwin"

do_compile_append_build-darwin() {
    oe_runmake check
}