]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Fix out-of-source builds by adding -I$(srcdir)
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 16 Jul 2010 15:37:30 +0000 (17:37 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 16 Jul 2010 15:37:30 +0000 (17:37 +0200)
This is needed when source files in subdirs need to include headers in the top
dir.

Makefile.in

index c6ff975070f6efaf52604d5160023f9b4bd6ff02..d366791338f2dd4b745ec1eb02ce4a2dd4ccc317 100644 (file)
@@ -10,7 +10,7 @@ installcmd = @INSTALL@
 
 CC = @CC@
 CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@ -I.
+CPPFLAGS = @CPPFLAGS@ -I. -I$(srcdir)
 LDFLAGS = @LDFLAGS@
 EXEEXT = @EXEEXT@