Removing sed hack and improving build script

This commit is contained in:
Rodrigo Alfonso
2024-08-26 07:01:22 -03:00
parent 5ce6ed1c64
commit adb1b3802b
17 changed files with 40 additions and 61 deletions

View File

@@ -165,7 +165,8 @@ CFLAGS += -Wall
CFLAGS += $(INCLUDE)
CFLAGS += -ffast-math -fno-strict-aliasing
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=c++17
USERFLAGS ?=
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=c++17 $(USERFLAGS)
ASFLAGS := $(ARCH) $(INCLUDE)
LDFLAGS := $(ARCH) -Wl,--print-memory-usage,-Map,$(PROJ).map