Actions
Bug #8141
closeddesktop/xscreensaver build stops with gcc option error
Start date:
2017-05-01
Due date:
% Done:
90%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Description
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.
Updated by Alexander Pyhalov about 5 years ago
- Status changed from Feedback to Resolved
Actions