diff libtomcrypt/Makefile.in @ 1484:f68ee671bf6d

use parent $CC etc
author Matt Johnston <matt@ucc.asn.au>
date Sat, 10 Feb 2018 18:57:20 +0800
parents 190b7af3bdac
children fc4c9ef61856
line wrap: on
line diff
--- a/libtomcrypt/Makefile.in	Sat Feb 10 00:12:31 2018 +0800
+++ b/libtomcrypt/Makefile.in	Sat Feb 10 18:57:20 2018 +0800
@@ -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
 #
 
+# Dropbear can build out of tree
 VPATH=@srcdir@
 srcdir=@srcdir@
 
@@ -32,10 +33,11 @@
 INCPATH   = $(PREFIX)/include
 DATAPATH  = $(PREFIX)/share/doc/libtomcrypt/pdf
 BINPATH   = $(PREFIX)/bin
-CC        = cc
-AR        = ar
+# Dropbear passes paths from parent makefile
+#CC        = cc
+#AR        = ar
 ARFLAGS   = r
-RANLIB    = ranlib
+#RANLIB    = ranlib
 #CFLAGS    = -O2 -DUSE_LTM -DLTM_DESC -I../libtommath
 EXTRALIBS = ../libtommath/libtommath.a