Make cross-building slightly more reliable
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 26 Dec 2020 12:23:53 +0000 (13:23 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 26 Dec 2020 13:26:47 +0000 (14:26 +0100)
doc/automake.mk

index b9fe0edc903b4491908e954a5f4eb17dcdc5152e..def0dbf395218a9aa634c7af75b648b39d130f8f 100644 (file)
@@ -190,7 +190,7 @@ pspp_output = native/utilities/pspp-output
 
 native/Makefile:
        $(MKDIR_P) native
-       (cd native && $(top_srcdir)/configure --without-gui)
+       (cd native && $(abs_top_srcdir)/configure --host=$$build --without-gui)
 
 native/gl/libgl.la: native/Makefile
        (cd native && flock --verbose $(top_builddir)/native-lock $(MAKE) gl/libgl.la)