Commit ba8cad3a authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Rafaël Carré

contrib: export CCAS correctly

Modified-by: default avatarRafaël Carré <funman@videolan.org>
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 3e92a084
...@@ -123,6 +123,8 @@ endif ...@@ -123,6 +123,8 @@ endif
endif endif
CCAS=$(CC)
ifdef HAVE_IOS ifdef HAVE_IOS
CC=xcrun clang CC=xcrun clang
CXX=xcrun clang++ CXX=xcrun clang++
...@@ -131,6 +133,7 @@ AS=perl $(abspath ../../extras/tools/build/bin/gas-preprocessor.pl) $(CC) ...@@ -131,6 +133,7 @@ AS=perl $(abspath ../../extras/tools/build/bin/gas-preprocessor.pl) $(CC)
else else
AS=xcrun as AS=xcrun as
endif endif
CCAS=gas-preprocessor.pl $(CC)
AR=xcrun ar AR=xcrun ar
LD=xcrun ld LD=xcrun ld
STRIP=xcrun strip STRIP=xcrun strip
...@@ -249,7 +252,7 @@ endif ...@@ -249,7 +252,7 @@ endif
HOSTTOOLS := \ HOSTTOOLS := \
CC="$(CC)" CXX="$(CXX)" LD="$(LD)" \ CC="$(CC)" CXX="$(CXX)" LD="$(LD)" \
AR="$(AR)" RANLIB="$(RANLIB)" STRIP="$(STRIP)" \ AR="$(AR)" CCAS="$(CCAS)" RANLIB="$(RANLIB)" STRIP="$(STRIP)" \
PATH="$(PREFIX)/bin:$(PATH)" PATH="$(PREFIX)/bin:$(PATH)"
HOSTVARS := $(HOSTTOOLS) \ HOSTVARS := $(HOSTTOOLS) \
CPPFLAGS="$(CPPFLAGS)" \ CPPFLAGS="$(CPPFLAGS)" \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment