summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xApplications/About/Makefile2
-rw-r--r--Makefile.common2
2 files changed, 3 insertions, 1 deletions
diff --git a/Applications/About/Makefile b/Applications/About/Makefile
index 7c830c994f..be5c34c9f6 100755
--- a/Applications/About/Makefile
+++ b/Applications/About/Makefile
@@ -5,4 +5,6 @@ PROGRAM = About
LDFLAGS = -lgui -ldraw -lipc -lcore -lc
+DEFINES += -DGIT_COMMIT=\"`git rev-parse --short HEAD`\" -DGIT_BRANCH=\"`git rev-parse --abbrev-ref HEAD`\" -DGIT_CHANGES=\"`git diff-index --quiet HEAD -- && echo "tracked"|| echo "untracked"`\"
+
include ../../Makefile.common
diff --git a/Makefile.common b/Makefile.common
index 59a8483db9..b4c5cba18c 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -65,7 +65,7 @@ endif
#SUGGEST_FLAGS = -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override #-Wsuggest-attribute=noreturn
CXXFLAGS = -MMD -MP $(WARNING_FLAGS) $(OPTIMIZATION_FLAGS) $(FLAVOR_FLAGS) $(ARCH_FLAGS) $(STANDARD_FLAGS) $(SUGGEST_FLAGS) $(INCLUDE_FLAGS) $(DEFINES) $(SUBPROJECT_CXXFLAGS)
-DEFINES += -DSANITIZE_PTRS -DGIT_COMMIT=\"`git rev-parse --short HEAD`\" -DGIT_BRANCH=\"`git rev-parse --abbrev-ref HEAD`\" -DGIT_CHANGES=\"`git diff-index --quiet HEAD -- && echo "tracked"|| echo "untracked"`\"
+DEFINES += -DSANITIZE_PTRS
IPCCOMPILER = $(SERENITY_BASE_DIR)/DevTools/IPCCompiler/IPCCompiler