Few month ago (while working on automatic app deployment), I fixed the configure script in many Hadrons applications. Apparently some of the necessary changes did not make their way back into the application-template. This PR rectifies this, bringing the template and our production applications back in line.
The issue itself is just a matter of order of operations. In practice it manifests itself as a error during configure that reads something like configure: error: C++ compiler cannot create executables. A strange workaround in the past was to add something nonsensical like "--host=aarch64" to pretend to be cross-compiling.
Few month ago (while working on automatic app deployment), I fixed the configure script in many Hadrons applications. Apparently some of the necessary changes did not make their way back into the application-template. This PR rectifies this, bringing the template and our production applications back in line.
The issue itself is just a matter of order of operations. In practice it manifests itself as a error during
configure
that reads something likeconfigure: error: C++ compiler cannot create executables
. A strange workaround in the past was to add something nonsensical like "--host=aarch64" to pretend to be cross-compiling.