diff --git a/stratosphere/boot/source/boot_power_utils.cpp b/stratosphere/boot/source/boot_power_utils.cpp index 7fd38c3ee..d600962bc 100644 --- a/stratosphere/boot/source/boot_power_utils.cpp +++ b/stratosphere/boot/source/boot_power_utils.cpp @@ -13,7 +13,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -#pragma once #include "boot_power_utils.hpp" #include "fusee-primary_bin.h" diff --git a/stratosphere/libstratosphere/Makefile b/stratosphere/libstratosphere/Makefile index ad13188bb..63448b6da 100644 --- a/stratosphere/libstratosphere/Makefile +++ b/stratosphere/libstratosphere/Makefile @@ -20,7 +20,7 @@ SOURCES := source source/ams source/hos source/result source/os source/os/impl DATA := data INCLUDES := include -DEFINES := -DRESULT_ABORT_ON_ASSERT +DEFINES := #--------------------------------------------------------------------------------- # options for code generation @@ -32,7 +32,7 @@ CFLAGS := -g -Wall -O2 -ffunction-sections \ CFLAGS += $(INCLUDE) -D__SWITCH__ -CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++17 +CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++17 -flto ASFLAGS := -g $(ARCH) LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)