{"thread":{"id":"40930","subject":"change to allow cross compile ARM and MIPS","startedAt":"2015-12-03T20:44:19Z","lastAt":"2015-12-03T20:44:19Z","messageCount":1,"participants":["Ronny Borchert"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"273991","messageId":"loom.20151203T213355-444@post.gmane.org","threadId":"40930","inReplyTo":null,"subject":"change to allow cross compile ARM and MIPS","fromName":"Ronny Borchert","fromEmail":"rborchert@live.de","sentAt":"2015-12-03T20:44:19Z","receivedAt":"2015-12-03T20:44:19Z","isPatch":false,"sender":{"key":"rborchert@live.de","avatar":null},"body":"I was trying to build git for MIPS. And found that configure.ac will \ncompile some stuff on the host machine during configure step. So I am not \nsure how the inventor wants that it work.\nMy solution was to remove the parts with ac_cv_fread_reads_directories and \nac_cv_snprintf_returns_bogus from configure.ac.\n\nBecause it seems that it is not enough to use arguments as described here:\nhttps://www.gnu.org/software/automake/manual/html_node/Cross_002dCompilation\n.html#Cross_002dCompilation\n\nI mean would it be possible to specifiy both from outside?\n\ni.e.\n./configure ac_cv_fread_reads_directories=yes \nac_cv_snprintf_returns_bogus=yes ...\n\nThis should overwrite any try of test with compile, so that any cross \ncompile will build.\n"}]}