Skip to content

Commit 2c040ed

Browse files
committed
libffi: Skip building docs.
This requires makeinfo installed and wastes time (especially in CI).
1 parent 9c72c71 commit 2c040ed

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

unix/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,14 @@ endif
202202

203203
deplibs: libffi axtls
204204

205+
# install-exec-recursive & install-data-am targets are used to avoid building
206+
# docs and depending on makeinfo
205207
libffi:
206208
cd ../lib/libffi; git clean -d -x -f
207209
cd ../lib/libffi; ./autogen.sh
208210
mkdir -p ../lib/libffi/build_dir; cd ../lib/libffi/build_dir; \
209-
../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out CC="$(CC)" CXX="$(CXX)" LD="$(LD)"; make install
211+
../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out CC="$(CC)" CXX="$(CXX)" LD="$(LD)"; \
212+
make install-exec-recursive; make -C include install-data-am
210213

211214
axtls:
212215
cd ../lib/axtls; cp config/upyconfig config/.config

0 commit comments

Comments
 (0)