esp8266/Makefile: Be sure to pass cross-compiling AR when building axtls.

Fixes build under MacOSX.
This commit is contained in:
Paul Sokolovsky 2016-05-02 01:22:42 +03:00
parent 8ebdbcfb27
commit 26fd0ac571

View File

@ -209,4 +209,4 @@ axtls:
cd ../lib/axtls; cp config/upyconfig config/.config
cd ../lib/axtls; make oldconfig -B
cd ../lib/axtls; make clean
cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)" CFLAGS_EXTRA="$(CFLAGS_XTENSA) -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072"
cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)" AR="$(AR)" CFLAGS_EXTRA="$(CFLAGS_XTENSA) -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072"