Skip to content

Commit

Permalink
Set GCC C++ standard version to 17
Browse files Browse the repository at this point in the history
twhl-community#85

(cherry picked from commit a920825)
  • Loading branch information
SamVanheer authored and LogicAndTrick committed Dec 26, 2021
1 parent 36164aa commit 6b8b34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ endif

ARCH_CFLAGS="$(ARCH_CFLAGS_I486)"

BASE_CFLAGS=-fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DNO_MALLOC_OVERRIDE -fno-exceptions -fexpensive-optimizations -Werror=return-type
BASE_CFLAGS=-std=c++17 -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DNO_MALLOC_OVERRIDE -fno-exceptions -fexpensive-optimizations -Werror=return-type
BASE_CFLAGS+=-w

ifeq ($(OS),Darwin)
Expand Down

0 comments on commit 6b8b34e

Please sign in to comment.