Fix erc32 simulator out-of-tree build failure.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 14 Mar 2013 23:33:57 +0000 (23:33 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 14 Mar 2013 23:33:57 +0000 (23:33 +0000)
sim/erc32/ChangeLog:

        * Makefile.in: Include build directory in search path to find
        config.h

sim/erc32/ChangeLog
sim/erc32/Makefile.in

index 4ecac22590a671038c13c89e1576c35919298f48..44452df463b5dc82e53fe3ba6ab703f1c4f78739 100644 (file)
@@ -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.
index c03121c0ec370a8a114b2b5b65ffeecd48a04d06..7e95a675b2ba607c13144591ece4fc83212c4412 100644 (file)
@@ -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