changeset 22076:d9643bc3792a

build: minor correction to workaround rule to build libgnu.la (bug #45578) * Makefile.am (libgnu/libgnu.la): Use && to propagate return status of 'cd'. Include $(AM_MAKEFLAGS) placeholder variable for project-wide make options.
author Mike Miller <mtmiller@octave.org>
date Thu, 07 Jul 2016 19:06:09 -0700
parents 7a4897e07727
children df50d42d4b1b
files Makefile.am
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Thu Jul 07 19:02:08 2016 -0700
+++ b/Makefile.am	Thu Jul 07 19:06:09 2016 -0700
@@ -229,7 +229,7 @@
 BUILT_SOURCES += libgnu/libgnu.la
 
 libgnu/libgnu.la: oct-conf-post.h
-	cd libgnu; $(MAKE) all
+	cd libgnu && $(MAKE) $(AM_MAKEFLAGS) all
 
 include liboctave/module.mk
 include libinterp/module.mk