kripken/emscripten — pull request #1822 by dinibu (2013-11-17 11:40:48+00:00)
Title: Timestamp issue for object files with absolute paths in static library archive

In my project, for various reasons we use absolute path names when using ar to create library archives.

When emscripten links against a static library, it extracts the object files from the archive. If the object files have absolute paths, this results in the overwriting of the existing object files, and their timestamp is updated to the extraction time.

The ar command has a -o flag, which can be added to set the timestamp to the file's original modification time. This pull request enables this flag.