File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ WOLFSSL_REPO=https://github.com/wolfSSL/wolfssl
44CFLAGS =-fpie -ffreestanding -fno-stack-protector -fno-stack-check -fshort-wchar -mno-red-zone -maccumulate-outgoing-args -static-libgcc -nostdlib
55# enable user settings
66CFLAGS+ = -DWOLFSSL_USER_SETTINGS
7+ # gcc still defines __unix__ when freestanding, which pulls wc_port.c's
8+ # socket/fcntl helpers into a target that has no libc to link them against
9+ CFLAGS+ = -U__unix__
710CFLAGS+ =-I./wolfssl/ -I. -I/usr/include/efi
811CFLAGS+ =-ggdb
912CC =gcc
@@ -16,7 +19,7 @@ LDFLAGS_END=-lgnuefi -lefi -lgcc
1619
1720_OBJS =sha256.o sha3.o misc.o coding.o hmac.o rsa.o random.o wolfmath.o \
1821 integer.o tfm.o asm.o cpuid.o memory.o logging.o wc_port.o asn.o hash.o \
19- main.o test.o error.o string.o aes.o wc_encrypt.o
22+ main.o test.o error.o string.o aes.o wc_encrypt.o wolfentropy.o
2023
2124OBJS =$(addprefix $(BUILD_DIR ) /,$(_OBJS ) )
2225
You can’t perform that action at this time.
0 commit comments