1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-12-22 16:42:11 +00:00

Makefile: build as a C++ project.

Yes, we'll be using Borealis.
This commit is contained in:
Pablo Curiel 2021-03-24 20:45:31 -04:00
parent 3cb6ef93aa
commit 1e58ed4f8a
3 changed files with 3 additions and 1 deletions

View file

@ -54,6 +54,8 @@ INCLUDES := include
EXEFS_SRC := exefs_src
ROMFS := romfs
ICON := $(ROMFS)/icon.jpg
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
@ -68,7 +70,7 @@ CFLAGS += `aarch64-none-elf-pkg-config libxml-2.0 --cflags`
CFLAGS += `aarch64-none-elf-pkg-config json-c --cflags`
CFLAGS += `aarch64-none-elf-pkg-config libturbojpeg --cflags`
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=c++1z -O2 -Wno-volatile
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)

0
romfs/.gitignore vendored
View file

View file

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB