0012-contrib-export-CCAS-correctly.patch 966 B

12345678910111213141516171819202122232425262728293031323334
  1. From bd9bc29764da7cdbe7a88f25b90f8c6e0b6aad01 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Sat, 20 Jul 2013 21:46:17 +0200
  4. Subject: [PATCH 12/12] contrib: export CCAS correctly
  5. ---
  6. contrib/src/main.mak | 3 ++-
  7. 1 file changed, 2 insertions(+), 1 deletion(-)
  8. diff --git a/contrib/src/main.mak b/contrib/src/main.mak
  9. index 69465e6..132ab7d 100644
  10. --- a/contrib/src/main.mak
  11. +++ b/contrib/src/main.mak
  12. @@ -131,6 +131,7 @@ AS=perl $(abspath ../../extras/tools/build/bin/gas-preprocessor.pl) $(CC)
  13. else
  14. AS=xcrun as
  15. endif
  16. +CCAS=gas-preprocessor.pl $(CC)
  17. AR=xcrun ar
  18. LD=xcrun ld
  19. STRIP=xcrun strip
  20. @@ -249,7 +250,7 @@ endif
  21. HOSTTOOLS := \
  22. CC="$(CC)" CXX="$(CXX)" LD="$(LD)" \
  23. - AR="$(AR)" RANLIB="$(RANLIB)" STRIP="$(STRIP)" \
  24. + AR="$(AR)" CCAS="$(CCAS)" RANLIB="$(RANLIB)" STRIP="$(STRIP)" \
  25. PATH="$(PREFIX)/bin:$(PATH)"
  26. HOSTVARS := $(HOSTTOOLS) \
  27. CPPFLAGS="$(CPPFLAGS)" \
  28. --
  29. 1.8.3.1 (Apple Git-46)