diff --git a/Makefile b/Makefile index 1bc1a0d..762e6ad 100644 --- a/Makefile +++ b/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` diff --git a/build.sh b/build.sh index d550f17..2c3d8b4 100644 --- a/build.sh +++ b/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