Bugzilla – Bug 197
[PATCH] cross compile fixes
Last modified: 2010-08-02 15:32:59 MDT
xcf
Created attachment 40 [details] Fixes cross compiling issues
Already fixed in the cvs tree for sudo 1.7 (which uses autoconf 2.59)
I'm sorry - I guess my patch would be unclear without explaining what was wrong. Sudo doesn't cross compile. Try it yourself. The configure script will always say it cannot run test programs, which of course it can't when cross compiling. You need to allow defaults for test programs. Here is the same patch, except with just the important details highlighted. Thanks, Devin Bayer
Created attachment 41 [details] Cross compile fixes only (no autoconf 2.57-2.59 changes)
The latest sudo sources can be cross-compiled without specifying any cache values in the environment.