From 7542c55f7a648271e3d2780480995c6a69c37a9e Mon Sep 17 00:00:00 2001 From: Chip Black Date: Sat, 23 Nov 2013 22:13:45 -0600 Subject: [PATCH] Extend CFLAGS out to scrypt --- Makefile | 2 +- builddeps/scrypt-1.1.6/lib/crypto/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index eb99c15..fe4691f 100644 --- a/Makefile +++ b/Makefile @@ -62,5 +62,5 @@ builddeps/scrypt-1.1.6/config.h: cd builddeps/scrypt-1.1.6 && ./configure builddeps/scrypt.a: builddeps/scrypt-1.1.6/config.h - make -C builddeps/scrypt-1.1.6/lib/crypto + make -C builddeps/scrypt-1.1.6/lib/crypto CFLAGS="$(CFLAGS)" cp builddeps/scrypt-1.1.6/lib/crypto/scrypt.a builddeps/ diff --git a/builddeps/scrypt-1.1.6/lib/crypto/Makefile b/builddeps/scrypt-1.1.6/lib/crypto/Makefile index 3b3d080..05c69c9 100644 --- a/builddeps/scrypt-1.1.6/lib/crypto/Makefile +++ b/builddeps/scrypt-1.1.6/lib/crypto/Makefile @@ -9,4 +9,4 @@ scrypt.a: crypto_aesctr.o crypto_scrypt-nosse.o sha256.o ar cru $@ $^ %.o: %.c - gcc $(INCLUDES) -c $< -o $@ + gcc $(INCLUDES) $(CFLAGS) -c $< -o $@ -- 2.25.1