From: fincs Date: Thu, 21 Aug 2014 20:59:59 +0000 (+0200) Subject: Update Makefile flags X-Git-Tag: v0.2.0~118 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=94f59bb0760f83029f6e564c394d4aefef957b18;p=corbenik%2Fctrulib.git Update Makefile flags --- diff --git a/libctru/Makefile b/libctru/Makefile index 5dd829b..0850eef 100644 --- a/libctru/Makefile +++ b/libctru/Makefile @@ -24,18 +24,17 @@ INCLUDES := include #--------------------------------------------------------------------------------- # options for code generation #--------------------------------------------------------------------------------- -ARCH := -marm +ARCH := -march=armv6k -mtune=mpcore -CFLAGS := -g -Wall -O2 -mthumb-interwork\ - -mcpu=mpcore -mtune=mpcore \ - -mfpu=vfp -ffast-math -mword-relocations \ - $(ARCH) +CFLAGS := -g -Wall -O2 -mword-relocations \ + -fomit-frame-pointer -ffast-math \ + $(ARCH) CFLAGS += $(INCLUDE) -DARM11 -D_3DS -CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -ASFLAGS := -g $(ARCH) -mcpu=mpcore -mtune=mpcore -LDFLAGS = -specs=ds_arm9.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) +CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11 + +ASFLAGS := -g $(ARCH) #--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing