1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Added ":addTrustedRootCA()" to the httpc contexts, close #8, Added some values in ctr.

I didn't test :addTrustedRootCA(), but it's just a simple string-to-char+size function.
This commit is contained in:
Firew0lf 2016-03-12 19:57:59 +01:00
parent 9db21c7831
commit 6a9fbbb133
6 changed files with 38 additions and 8 deletions

View file

@ -38,6 +38,8 @@ APP_TITLE := ctruLua
APP_DESCRIPTION := Lua for the 3DS. Yes, it works.
APP_AUTHOR := Reuh, Firew0lf and NegiAD
ICON := icon.png
APP_VERSION := $(shell git describe --abbrev=0 --tags)
LASTCOMMIT := $(shell git rev-parse HEAD)
#---------------------------------------------------------------------------------
# options for code generation
@ -48,7 +50,7 @@ CFLAGS := -g -Wall -O2 -mword-relocations -std=gnu11 \
-fomit-frame-pointer -ffast-math \
$(ARCH)
CFLAGS += $(INCLUDE) -DARM11 -D_3DS
CFLAGS += $(INCLUDE) -DARM11 -D_3DS -DCTR_VERSION=\"$(APP_VERSION)\" -DCTR_BUILD=\"$(LASTCOMMIT)\"
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11