From 27e8494fc87e4009821b8d37a94b643e6076e3f0 Mon Sep 17 00:00:00 2001 From: Syed Daanish Date: Tue, 28 Jul 2026 00:30:26 +0100 Subject: [PATCH] Add compiler flags --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 83899fc..29ce59f 100644 --- a/Makefile +++ b/Makefile @@ -25,14 +25,14 @@ MRUBY_CFLAGS ?= -I./libs/mruby/build/host/include MRUBY_LIBS ?= -L./libs/mruby/build/host/lib -lmruby CFLAGS_DEBUG :=\ - -std=c++20 -Wall -Wextra -static \ + -std=c++26 -Wall -Wextra -static \ -O0 -fno-inline -gsplit-dwarf \ - -g -fno-omit-frame-pointer \ + -g -fno-omit-frame-pointer -ffast-math \ -I./include -I./libs/unicode_width CFLAGS_RELEASE :=\ - -std=c++20 -O3 -march=x86-64 -mtune=generic -fno-rtti \ - -fvisibility=hidden -static \ + -std=c++26 -O3 -march=x86-64 -mtune=generic -fno-rtti \ + -fvisibility=hidden -static -ffast-math \ -fomit-frame-pointer -DNDEBUG -s \ -I./include -I./libs/unicode_width