1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 02:47:34 +00:00

Get rid of SERENITY macro since the compiler already defines __serenity__

This makes it a bit easier to use AK templates out-of-tree.
This commit is contained in:
Andreas Kling 2019-04-20 12:58:02 +02:00
parent 6aead8998a
commit 301a269ca0
27 changed files with 39 additions and 60 deletions

View file

@ -87,7 +87,7 @@ INCLUDE_FLAGS = -I.. -I.
CLANG_FLAGS = -Wconsumed -m32 -ffreestanding -march=i686
#SUGGEST_FLAGS = -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override #-Wsuggest-attribute=noreturn
DEFINES = -DSERENITY -DKERNEL -DSANITIZE_PTRS
DEFINES = -DKERNEL -DSANITIZE_PTRS
CXXFLAGS = -MMD -MP $(WARNING_FLAGS) $(OPTIMIZATION_FLAGS) $(KERNEL_FLAGS) $(FLAVOR_FLAGS) $(ARCH_FLAGS) $(STANDARD_FLAGS) $(SUGGEST_FLAGS) $(INCLUDE_FLAGS) $(DEFINES)
#CXX = clang $(CLANG_FLAGS)