0013-contrib-don-t-try-to-guess-ARCH-if-it-was-given-as-a.patch 730 B

12345678910111213141516171819202122232425262728
  1. From 9b2170627a87edee98f307f1ba44866e78b05098 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Wed, 15 Jan 2014 15:15:12 +0100
  4. Subject: [PATCH 13/19] contrib: don't try to guess ARCH if it was given as an
  5. argument
  6. ---
  7. contrib/src/main.mak | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. diff --git a/contrib/src/main.mak b/contrib/src/main.mak
  10. index a22b717..149baa0 100644
  11. --- a/contrib/src/main.mak
  12. +++ b/contrib/src/main.mak
  13. @@ -35,7 +35,9 @@ PREFIX := $(abspath $(PREFIX))
  14. ifneq ($(HOST),$(BUILD))
  15. HAVE_CROSS_COMPILE = 1
  16. endif
  17. +ifndef ARCH
  18. ARCH := $(shell $(SRC)/get-arch.sh $(HOST))
  19. +endif
  20. ifeq ($(ARCH)-$(HAVE_WIN32),x86_64-1)
  21. HAVE_WIN64 := 1
  22. --
  23. 1.8.3.4 (Apple Git-47)