[jhalfs] 03/03: Load the optimize functions even if optimize=0

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

commit f32cd505a8b06494aa90105b047afa722d30a2ff
Author: Pierre Labastie <[email protected]>
AuthorDate: Sat May 7 20:40:27 2022 +0200

    Load the optimize functions even if optimize=0
    
    wrt_makeflags is needed to pass NINJAJOBS=1 in this case.
---
 jhalfs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/jhalfs b/jhalfs
index c276538..b0470b3 100755
--- a/jhalfs
+++ b/jhalfs
@@ -281,8 +281,10 @@ if [[ "$SAVE_CH5" = "y" ]]; then
 fi
 #
 # optimize module
+# the optimize_functions file is needed for wrt_makeflags even
+# if optimize=0, because we need to pass NINJAJOBS=1
+load_file optimize/optimize_functions 'Loading optimization module'
 if [[ "$OPTIMIZE" != "0" ]]; then
-  load_file optimize/optimize_functions 'Loading optimization module'
   #
   # optimize configurations
   load_file optimize/opt_config 'Loading optimization config'

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.