Skip to content

Commit decbdc5

Browse files
committed
Keep glibc headers out of the freestanding uefi-library build
1 parent bd6dbad commit decbdc5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

uefi-library/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ LIBGCC_I32 := /usr/lib/gcc-cross/i686-linux-gnu/14/libgcc.a
4343
CFLAGS_COMMON := \
4444
-fpic -ffreestanding -fno-stack-protector -fno-stack-check \
4545
-fshort-wchar -mno-red-zone -maccumulate-outgoing-args \
46+
-U__unix__ \
4647
-DUEFI -DGNUEFI -DWOLFSSL_USER_SETTINGS -DNEED_DYNAMIC_TYPE_FIX_UEFI \
4748
-I. -I/usr/include/efi -I/usr/include/efi/x86_64 \
4849
-I$(WOLFSSL_PATH) \

0 commit comments

Comments
 (0)