0025-contrib-reverse-logic.patch 963 B

12345678910111213141516171819202122232425262728293031323334353637
  1. From 2673d3b7d1c79d76e780853e7e1e00e7d76ad9f8 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Wed, 22 Jan 2014 02:32:01 +0100
  4. Subject: [PATCH 25/25] contrib: reverse logic
  5. ---
  6. contrib/src/main.mak | 11 +++++++----
  7. 1 file changed, 7 insertions(+), 4 deletions(-)
  8. diff --git a/contrib/src/main.mak b/contrib/src/main.mak
  9. index ae76215..12976a9 100644
  10. --- a/contrib/src/main.mak
  11. +++ b/contrib/src/main.mak
  12. @@ -130,12 +130,15 @@ CCAS=$(CC) -c
  13. ifdef HAVE_IOS
  14. CC=xcrun clang
  15. CXX=xcrun clang++
  16. -ifeq ($(ARCH), arm)
  17. -AS=perl $(abspath ../../extras/tools/build/bin/gas-preprocessor.pl) $(CC)
  18. -CCAS=gas-preprocessor.pl $(CC) -c
  19. -else
  20. +ifeq ($(ARCH),i386)
  21. +CCAS=$(CC) -c
  22. +AS=xcrun as
  23. +else ifeq ($(ARCH),x86_64)
  24. CCAS=$(CC) -c
  25. AS=xcrun as
  26. +else
  27. +AS=perl $(abspath ../../extras/tools/build/bin/gas-preprocessor.pl) $(CC)
  28. +CCAS=gas-preprocessor.pl $(CC) -c
  29. endif
  30. AR=xcrun ar
  31. LD=xcrun ld
  32. --
  33. 1.8.3.4 (Apple Git-47)