Browse Source

Use -std instead of --std

--std isn't standardised. lol.

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
Callum Farmer 1 year ago
parent
commit
9b1e06cd0c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Make.defaults

+ 2 - 2
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