On Thu, Jul 26, 2012 at 3:14 PM, Peeters Simon <[email protected]> wrote: > when cross-compiling src/core/syscall-list.txt still gets generated by > the build cpp > (because it is hard coded as '$(AM_V_GEN)cpp $(AM_CPPFLAGS) > $(CPPFLAGS) -dM -include sys/syscall.h ') > > the problem arises when the build cpp and host cpp have different > default locations for includes (which is the case in my > cross-toolchain) and the host syscall.h defines not all syscalls > defined in the build syscall.h which results in unsupstituted macros > in syscall-to-name.h when compiling > > the solution would be to use the host cc with the -E flag, so it > always uses the right includes. > > can somebody who knows something about the build-system look in to this?
Does $(CPP) make it work? Kay _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
