diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2013-05-23 21:06:11 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-07-12 09:49:31 -0500 |
commit | 44b63a15ac243ed21fcd35704838baced09ed64c (patch) | |
tree | 1e5a239057168265ed50371e99a8c784df2d8436 /src/build/linker | |
parent | b9c5a79eb89e837981f7743569b715923d8b4c75 (diff) | |
download | talos-hostboot-44b63a15ac243ed21fcd35704838baced09ed64c.tar.gz talos-hostboot-44b63a15ac243ed21fcd35704838baced09ed64c.zip |
Support ccache.
Change-Id: I38b3c391f2fd33ec21d9c11d1088e284216b8b3b
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5133
Tested-by: Jenkins Server
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/linker')
-rw-r--r-- | src/build/linker/makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build/linker/makefile b/src/build/linker/makefile index acb1993e0..3957cbf6a 100644 --- a/src/build/linker/makefile +++ b/src/build/linker/makefile @@ -28,5 +28,7 @@ CLEAN_TARGETS += linker include $(ROOTPATH)/config.mk linker: linker.C - $(HOST_PREFIX)g++ -O3 -g linker.C -o linker -lbfd -liberty -lz + $(C2) " CXX $(notdir $<)" + $(C1)$(CCACHE) $(HOST_PREFIX)g++ -O3 -g linker.C -o linker \ + -lbfd -liberty -lz |