diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-10-18 18:53:48 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-10-18 19:16:27 +0200 |
commit | a05d061aa384863e601c7989b363f8ef70dad34f (patch) | |
tree | 49eafb663c49b8ce203ab17b6bb5f9140eabf7b6 /utils | |
parent | d097742155873c8597f1b5adcce95fa17f135002 (diff) |
rbutil: Pass isysroot to rbutil libs on macOS.
On macOS we pass the full path to the compiler. On recent versions this
causes the compiler to not find its SDK path, this needs to get passed
via the isysroot option.
Change-Id: Iea2820e1755cc80e12691119dfa31d70938ea511
Diffstat (limited to 'utils')
-rw-r--r-- | utils/tomcrypt/Makefile | 4 |
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 \ |