more missing includes, makefile and permission fixes

This commit is contained in:
zetaPRIME 2017-12-26 17:16:53 -05:00
parent 7e1d160914
commit a0de416fe5
4 changed files with 3 additions and 2 deletions

View File

@ -30,7 +30,7 @@ INCLUDES := include
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
# why was -Werror here? # why was -Werror here?
CFLAGS := -g -Wall -O2 -mword-relocations \ CFLAGS := -g -Wall -Wno-psabi -O2 -mword-relocations \
-ffunction-sections \ -ffunction-sections \
-fomit-frame-pointer \ -fomit-frame-pointer \
$(ARCH) $(ARCH)

View File

@ -2,6 +2,7 @@
#include "starlight/_global.h" #include "starlight/_global.h"
#include <memory> #include <memory>
#include <functional>
namespace starlight { namespace starlight {
template<typename T> template<typename T>

0
maketest.sh Normal file → Executable file
View File

View File

@ -177,7 +177,7 @@ send-cia: $(TARGET)-strip.elf
@sockme $(TARGET).cia $(3DSIP) || sockme $(TARGET).cia $(3DSIP) || sockme $(TARGET).cia $(3DSIP) @sockme $(TARGET).cia $(3DSIP) || sockme $(TARGET).cia $(3DSIP) || sockme $(TARGET).cia $(3DSIP)
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
run: $(BUILD) run: $(BUILD)
@citra $(TARGET).3dsx @citra-qt $(TARGET).3dsx
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
copy_cia: $(TARGET).cia copy_cia: $(TARGET).cia
@cp $(TARGET).cia /mnt/3DS @cp $(TARGET).cia /mnt/3DS