use parent $CC etc

This commit is contained in:
Matt Johnston 2018-02-10 18:57:20 +08:00
parent 8013009880
commit df66daa26a

View File

@ -22,6 +22,7 @@
# make -f makefile.unix CC=icc AR=xiar CFLAGS="-fast -DUSE_LTM -DLTM_DESC -I/path/to/libtommath" EXTRALIBS=/path/to/libtommath/libtommath.a all # make -f makefile.unix CC=icc AR=xiar CFLAGS="-fast -DUSE_LTM -DLTM_DESC -I/path/to/libtommath" EXTRALIBS=/path/to/libtommath/libtommath.a all
# #
# Dropbear can build out of tree
VPATH=@srcdir@ VPATH=@srcdir@
srcdir=@srcdir@ srcdir=@srcdir@
@ -32,10 +33,11 @@ LIBPATH = $(PREFIX)/lib
INCPATH = $(PREFIX)/include INCPATH = $(PREFIX)/include
DATAPATH = $(PREFIX)/share/doc/libtomcrypt/pdf DATAPATH = $(PREFIX)/share/doc/libtomcrypt/pdf
BINPATH = $(PREFIX)/bin BINPATH = $(PREFIX)/bin
CC = cc # Dropbear passes paths from parent makefile
AR = ar #CC = cc
#AR = ar
ARFLAGS = r ARFLAGS = r
RANLIB = ranlib #RANLIB = ranlib
#CFLAGS = -O2 -DUSE_LTM -DLTM_DESC -I../libtommath #CFLAGS = -O2 -DUSE_LTM -DLTM_DESC -I../libtommath
EXTRALIBS = ../libtommath/libtommath.a EXTRALIBS = ../libtommath/libtommath.a