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
endif
CCAS=$(CC)
ifdef HAVE_IOS
CC=xcrun clang
CXX=xcrun clang++
......@@ -131,6 +133,7 @@ AS=perl $(abspath ../../extras/tools/build/bin/gas-preprocessor.pl) $(CC)
else
AS=xcrun as
endif
CCAS=gas-preprocessor.pl $(CC)
AR=xcrun ar
LD=xcrun ld
STRIP=xcrun strip
......@@ -249,7 +252,7 @@ endif
HOSTTOOLS := \
CC="$(CC)" CXX="$(CXX)" LD="$(LD)" \
AR="$(AR)" RANLIB="$(RANLIB)" STRIP="$(STRIP)" \
AR="$(AR)" CCAS="$(CCAS)" RANLIB="$(RANLIB)" STRIP="$(STRIP)" \
PATH="$(PREFIX)/bin:$(PATH)"
HOSTVARS := $(HOSTTOOLS) \
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