--- src/Makefile.in.orig 2009-08-08 09:44:50.000000000 -0500 +++ src/Makefile.in 2022-01-12 14:55:25.000000000 -0600 @@ -56,7 +56,7 @@ libffi/Makefile: mkdir -p libffi - cd libffi; ../../libffi/configure --with-pic + cd libffi && CC="@CC@" CFLAGS="@CFLAGS@" CPPFLAGS="@CPPFLAGS@" LDFLAGS="@LDFLAGS@" ../../libffi/configure --with-pic libffi/.libs/libffi.a: libffi/Makefile cd libffi; $(MAKE)