summaryrefslogtreecommitdiffstats
path: root/utils/tomcrypt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/tomcrypt/Makefile')
-rw-r--r--utils/tomcrypt/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/tomcrypt/Makefile b/utils/tomcrypt/Makefile
index ce0f9bae47..4ca8c4e843 100644
--- a/utils/tomcrypt/Makefile
+++ b/utils/tomcrypt/Makefile
@@ -16,6 +16,10 @@ endif
CFLAGS := -O3 -g -std=c99 -Wall $(DEFINES) -Isrc/headers
LDFLAGS :=
+ifneq ($(ISYSROOT),)
+CFLAGS += -isysroot $(ISYSROOT)
+endif
+
SOURCES := \
src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c \
src/misc/crypt/crypt_argchk.c src/misc/crypt/crypt_register_cipher.c src/misc/crypt/crypt_cipher_is_valid.c src/misc/crypt/crypt_cipher_descriptor.c \