mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-22 10:16:39 +00:00
Treat errors as warnings.
This commit is contained in:
parent
c29f994b35
commit
6c931988d3
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -56,7 +56,7 @@ ROMFS := romfs
|
|||
#---------------------------------------------------------------------------------
|
||||
ARCH := -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIE
|
||||
|
||||
CFLAGS := -g -Wall -Wextra -O2 -ffunction-sections $(ARCH) $(DEFINES) $(INCLUDE) -D__SWITCH__
|
||||
CFLAGS := -g -Wall -Wextra -Werror -O2 -ffunction-sections $(ARCH) $(DEFINES) $(INCLUDE) -D__SWITCH__
|
||||
CFLAGS += -DVERSION_MAJOR=${VERSION_MAJOR} -DVERSION_MINOR=${VERSION_MINOR} -DVERSION_MICRO=${VERSION_MICRO} -DAPP_TITLE=\"${APP_TITLE}\" -DAPP_AUTHOR=\"${APP_AUTHOR}\" -DAPP_VERSION=\"${APP_VERSION}\"
|
||||
CFLAGS += `freetype-config --cflags`
|
||||
CFLAGS += `aarch64-none-elf-pkg-config zlib --cflags`
|
||||
|
|
2
build.sh
2
build.sh
|
@ -23,7 +23,7 @@ for f in ./code_templates/*.c; do
|
|||
rm -f ./source/main.c
|
||||
cp $f ./source/main.c
|
||||
|
||||
make BUILD_TYPE="$filename" -j12
|
||||
make BUILD_TYPE="$filename"
|
||||
|
||||
mkdir ./code_templates/tmp/$filename
|
||||
cp ./$filename.nro ./code_templates/tmp/$filename/nxdumptool-rewrite.nro
|
||||
|
|
Loading…
Reference in a new issue