[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Fix parallel build
From: |
Tobias Kortkamp |
Subject: |
[Chicken-hackers] [PATCH] Fix parallel build |
Date: |
Tue, 04 Sep 2018 09:43:27 +0200 |
Hi,
attempting to build 5.0.0rc1 in parallel (with something like gmake
-j4 on FreeBSD) fails with (garbled output courtesy of the parallel
build...):
cc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES
chicken-do.c -o chicken-do5
./chicken.h:48echo '# define C_INSTALL_POSTINSTALL_PROGRAM "true"' >>
chicken-defaults.h
:11: echo '#endif' >> chicken-defaults.h
fatal error: echo '#ifndef C_INSTALL_RC_COMPILER' >> chicken-defaults.h
'chicken-config.h' fileecho '# define C_INSTALL_RC_COMPILER ""' >>
chicken-defaults.h
not foundecho '#endif' >> chicken-defaults.h
# include "chicken-config.h"
^~~~~~~~~~~~~~~~~~
It seems chicken-do is being compiled with HAVE_CHICKEN_CONFIG_H
before chicken-config.h is generated. A simple addition to rules.make
seems to fix this. Patch attached.
Thanks!
0001-Fix-parallel-build.patch
Description: Text Data
- [Chicken-hackers] [PATCH] Fix parallel build,
Tobias Kortkamp <=