From 9b1e06cd0cc7937ae291a34f1bb5ec1b4568faee Mon Sep 17 00:00:00 2001 From: Callum Farmer Date: Wed, 26 Apr 2023 18:36:56 +0100 Subject: [PATCH] Use -std instead of --std --std isn't standardised. lol. Signed-off-by: Callum Farmer --- Make.defaults | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Make.defaults b/Make.defaults index 1277d14..53360a8 100755 --- a/Make.defaults +++ b/Make.defaults @@ -125,9 +125,9 @@ ifeq ($(ARCH),x86_64) && [ $(GCCMINOR) -ge "7" ] ) ) \ && echo 1) ifeq ($(GCCNEWENOUGH),1) - CPPFLAGS += -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args --std=c11 + CPPFLAGS += -DGNU_EFI_USE_MS_ABI -maccumulate-outgoing-args -std=c11 else ifeq ($(USING_CLANG),clang) - CPPFLAGS += -DGNU_EFI_USE_MS_ABI --std=c11 + CPPFLAGS += -DGNU_EFI_USE_MS_ABI -std=c11 endif CFLAGS += -mno-red-zone