Fix module.mk to use the correct include flag
--include is not a real gcc flag. Maybe it exists for other compilers or I'm just bad at reading docs though. Anyway, now that this uses the expected gcc flag, `ccache` works when added to this build system. Without this, `ccache` thinks there's multiple input files and refuses to cache results. Now, it works and has a great hit rate.
This commit is contained in:
committed by
Travis Geiselbrecht
parent
0257ac8c1f
commit
31efe5fa5e
@@ -71,7 +71,7 @@ $(MODULE_CONFIG): configheader
|
||||
|
||||
GENERATED += $(MODULE_CONFIG)
|
||||
|
||||
MODULE_COMPILEFLAGS += --include $(MODULE_CONFIG)
|
||||
MODULE_COMPILEFLAGS += -include $(MODULE_CONFIG)
|
||||
|
||||
MODULE_SRCDEPS += $(MODULE_CONFIG)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user