desktop/xscreensaver build stops with gcc option error
Building the desktop/xscreensaver component on SPARC oi_151a8 fails with the following error:
gcc: error: unrecognized command line option ‘-no-cpp-precomp’
I presume that this error only appears on a SPARC build. This option is a result of the AC_NO_OBJECTIVE_C macro in configure.in, testing an option that fixes an Apple-specific gcc bug. The configure script seems to misinterpret the results of this test. A patch, which I call xscreensaver-26-precomp.patch, removes this macro from configure.in .
With this change, the build is successful both on the SPARC machine, and on an x86 machine running a recent hipster distribution.