aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-03-14 23:33:57 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-03-14 23:33:57 +0000
commit7b7f7f41a805b454125cdc7ebea8c21d90d39b0f (patch)
treea438da043f258fcc9eff80b0bd5d265874f43aca
parent93c4ff1017a85d53e5c2da160e2a37d4ea4ee450 (diff)
downloadgdb-7b7f7f41a805b454125cdc7ebea8c21d90d39b0f.zip
gdb-7b7f7f41a805b454125cdc7ebea8c21d90d39b0f.tar.gz
gdb-7b7f7f41a805b454125cdc7ebea8c21d90d39b0f.tar.bz2
Fix erc32 simulator out-of-tree build failure.
sim/erc32/ChangeLog: * Makefile.in: Include build directory in search path to find config.h
-rw-r--r--sim/erc32/ChangeLog5
-rw-r--r--sim/erc32/Makefile.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 4ecac22..44452df 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.in: Include build directory in search path to find
+ config.h
+
2012-08-16 Nick Clifton <nickc@redhat.com>
* end.c: Include config.h before system header files.
diff --git a/sim/erc32/Makefile.in b/sim/erc32/Makefile.in
index c03121c..7e95a67 100644
--- a/sim/erc32/Makefile.in
+++ b/sim/erc32/Makefile.in
@@ -45,7 +45,7 @@ sis: sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS)
# There is AC_C_BIGENDIAN but it doesn't handle float endianness.
# [Are int/float endians every different on a sparc?]
end: $(srcdir)/end.c
- $(CC_FOR_BUILD) $(srcdir)/end.c -o end
+ $(CC_FOR_BUILD) -I. $(srcdir)/end.c -o end
end.h: end
./end > end.h