diff options
author | Fred Wright <fw@fwright.net> | 2016-10-01 16:01:02 -0700 |
---|---|---|
committer | Jon Schlueter <jon.schlueter@gmail.com> | 2016-12-18 22:27:55 -0500 |
commit | 40b8f6657f3766926900c7c552b0c25972d0230a (patch) | |
tree | 3e6f7fa015394a3b2d441d0109a3b65a1e749345 /xgps | |
parent | c173a5ecc51395225955df858315b0872d0a00b0 (diff) | |
download | gpsd-40b8f6657f3766926900c7c552b0c25972d0230a.tar.gz |
Removes two redundant or troublesome compile flags.
The two flags -Wmissing-prototypes and -Wmissing-declarations were
being both conditionally included after a validity test, and then
unconditionally included later. In cases where they were acceptable,
that resulted in doubly including them, and in cases where they
were unacceptable, that meant breaking the build.
The fix is simply to remove the unconditional adds. This is a
necessary but not sufficient condition for building with CC=c99
to work.
TESTED:
Ran "scons build-all check" on OSX, and verified that the two
flags were still present in the appropriate commands, but now
only once. Also verified that building with CC=c99 no longer
fails in a manner related to those flags.
Diffstat (limited to 'xgps')
0 files changed, 0 insertions, 0 deletions