Mercurial > mxe-octave
view src/libvpx-1-fixes.patch @ 5531:eae508c12529
Add build rule for build-octave (bug #49503).
* src/build-octave.mk: Add new build rule for build-octave which can be used for
cross-building binary packages that depend on Octave as a build tool.
* dist-files.mk: Add new file to list.
* index.html: Add new package to list.
* src/of-communications.mk, src/of-image.mk, src/of-mapping.mk,
src/of-optiminterp.mk, src/of-sparsersb.mk, src/of-statistics.mk,
src/of-windows.mk: Add optional dependency on build-octave.
* configure.ac: Add new configure switch "--disable-system-octave" that is
needed to build the build-octave package.
* Makefile.in: Add variable "USE_SYSTEM_OCTAVE". Exclude build-octave from the
default build tools and build it only if a package explicitly depends on it.
Display warning about missing native Octave version only if necessary.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 08 Sep 2020 23:04:38 +0200 |
parents | de6e4042489c |
children |
line wrap: on
line source
This file is part of MXE. See LICENSE.md for licensing information. Contains ad hoc patches for cross building. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Mark Brand <mabrand@mabrand.nl> Date: Thu, 5 Sep 2013 14:25:31 -0700 Subject: [PATCH 1/2] Linking as test is not good for cross compiling Signed-off-by: Timothy Gu <timothygu99@gmail.com> diff --git a/configure b/configure index 1111111..2222222 100755 --- a/configure +++ b/configure @@ -561,9 +561,6 @@ process_detect() { } fi check_header stdio.h || die "Unable to invoke compiler: ${CC} ${CFLAGS}" - check_ld <<EOF || die "Toolchain is unable to link executables" -int main(void) {return 0;} -EOF # check system headers check_header stdint.h check_header pthread.h From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Mark Brand <mabrand@mabrand.nl> Date: Thu, 5 Sep 2013 14:28:28 -0700 Subject: [PATCH 2/2] Fix /bin/bash Signed-off-by: Timothy Gu <timothygu99@gmail.com> diff --git a/build/make/gen_msvs_def.sh b/build/make/gen_msvs_def.sh index 1111111..2222222 100755 --- a/build/make/gen_msvs_def.sh +++ b/build/make/gen_msvs_def.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. ## diff --git a/build/make/gen_msvs_vcxproj.sh b/build/make/gen_msvs_vcxproj.sh index 1111111..2222222 100755 --- a/build/make/gen_msvs_vcxproj.sh +++ b/build/make/gen_msvs_vcxproj.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. ## diff --git a/build/make/gen_msvs_sln.sh b/build/make/gen_msvs_sln.sh index 1111111..2222222 100755 --- a/build/make/gen_msvs_sln.sh +++ b/build/make/gen_msvs_sln.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. ##