mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Build: only setup git defines for About application
This commit is contained in:
parent
44bc4008b7
commit
23158aef2e
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue