Project

General

Profile

Bug #8141

desktop/xscreensaver build stops with gcc option error

Added by Gary Mills over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
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.

History

#1

Updated by Alexander Pyhalov over 2 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF