Skip to content

Commit

Permalink
Compile with -std=gnu2x
Browse files Browse the repository at this point in the history
  • Loading branch information
lutoma committed Nov 17, 2023
1 parent 70d0b96 commit e4f8a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.static
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ OBJCOPY := $(PREFIX)-objcopy
QEMU := qemu-system-$(ARCH)
LD := $(CC)

MAKE_CFLAGS += -std=gnu18 -pipe -g -O3 -ffreestanding -fno-omit-frame-pointer -fstack-protector-strong -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wframe-larger-than=1024 -Wcast-align -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wnull-dereference $(INCLUDE)
MAKE_CFLAGS += -std=gnu2x -pipe -g -O3 -ffreestanding -fno-omit-frame-pointer -fstack-protector-strong -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wframe-larger-than=1024 -Wcast-align -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wnull-dereference $(INCLUDE)
MAKE_LDFLAGS := -T src/boot/$(ARCH)-linker.ld -nostdlib -lgcc

ifeq ($(shell uname -s), Darwin)
Expand Down

0 comments on commit e4f8a52

Please sign in to comment.