Atmosphere/mesosphere/config/common.mk

10 lines
512 B
Makefile
Raw Normal View History

2018-10-31 20:47:31 +00:00
COMMON_DEFINES := -DBOOST_DISABLE_ASSERTS
COMMON_SOURCES_DIRS := source/core source/interfaces source/interrupts source/kresources\
source/processes source/threading source
COMMON_SETTING := -fPIE -g -nostdlib
COMMON_CFLAGS := -Wall -Werror -O2 -ffunction-sections -fdata-sections -fno-strict-aliasing -fwrapv\
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-stack-protector
COMMON_CXXFLAGS := -fno-rtti -fno-exceptions -std=gnu++17
COMMON_ASFLAGS :=
COMMON_LDFLAGS := -Wl,-Map,out.map