gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] scons quirks


From: Hal Murray
Subject: Re: [gpsd-dev] scons quirks
Date: Fri, 15 Nov 2013 11:13:17 -0800

I think I've tracked down one piece of the puzzle.  revision.h is the key.

On the rsync-ed to machines, the .git directory gets dropped.
revision.h contains things like:
  #define REVISION "2013-11-15T10:25:15.11"
while on the git-clone-d systems it looks like:
  #define REVISION "release-3.9-807-g4f440cd"

On the non-git world, revision.h gets updated each time you run scons.
In the git world, revision.h doesn't get updated by a second scons.

...
scons: done reading SConscript files.
scons: Building targets ...
Creating 'revision.h'
gcc -o gpsd_json.os -c -D_GNU_SOURCE -Wextra -Wall -Wno-uninitialized 
-Wno-missing-field-initializers -Wcast-align -Wmissing-declarations 
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type 
-pthread -Wmissing-prototypes -Wmissing-declarations -O2 -fPIC gpsd_json.c
...


-- 
These are my opinions.  I hate spam.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]