Closed brooksdavis closed 2 years ago
Move the setting from configure to setup
Best practice would be for the configure env calls to also live there, that way you keep all the what-options-to-pass behaviour in one central place with configure/build/install just dealing with how to interact with the build system
In #295 I added DESTDIR to make arguments so DESTDIR is honored. This works on a clean build (e.g.,
cheribuild openssh-morello-purecap --clean
) wheregmake install
is called with:but when I run without
--clean
we get:and the install fails because it tries to write to
/opt
because the DESTDIR in the environment is ignored (the Makefile contains aDESTDIR=
line near the top).