summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-06 18:39:21 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-06 18:40:09 -0400
commit9ab79683d722987d34fd6da194958284ca805e23 (patch)
treec46fe3da1c1681b04cb9bb5483b86bc86bc475e3
parent1de4d06c2211bd19b2833f9ea684ee1126047950 (diff)
Makefile: Use `FILE_UNIQUE_CFLAGS` for file specific flags, rather than
appending to `C{,XX}FLAGS`
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b7ac205..839ec5b 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ CXXFLAGS := $(CFLAGS_BASE) -Cpp_exceptions off -RTTI off
include obj_files.mk
-$(BUILD_DIR)/src/pso/TProtocol.o: CXXFLAGS += -inline none
+$(BUILD_DIR)/src/pso/TProtocol.o: FILE_UNIQUE_CFLAGS := -inline none
ALL_DIRS := $(sort $(dir $(O_FILES)))