3 commits squashed and merged
This commit is contained in:
Helloman892
2017-09-05 10:55:21 +01:00
committed by GitHub
parent 1c6ae493d5
commit 91fa4fa412
2 changed files with 4 additions and 1 deletions

View File

@@ -53,7 +53,9 @@ CFLAGS := -g -Wall -Wextra -mword-relocations \
-ffunction-sections \
$(ARCH)
CFLAGS += $(INCLUDE) -DARM11 -D_3DS -D_GNU_SOURCE
revision := $(shell git describe --tags --match v[0-9]* --abbrev=8 | sed 's/-[0-9]*-g/-/')
CFLAGS += $(INCLUDE) -DARM11 -D_3DS -D_GNU_SOURCE -DVERSION="\"$(revision)\""
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11