Fixes for OS X

* Add some type casting so tv_usec can really be a long, instead of
   some strange platform specific type.

 * Add some .dylib style files to .gitignore.

 * Switch from using -Xlinker to -Wl,. For [reasons unknown][], newer
   versions of GCC, when compiling the Homebrew formula for Asterisk,
   are not properly passing the -Xlinker options to the linker. Given
   that -Wl, does exactly the [same thing][], and does it properly, this
   patch changes the -Xlinker options to use -Wl, instead.

 [reasons unknown]: http://bit.ly/1SUbEYx
 [same thing]: https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html

Change-Id: Id5e6b3c6cc86282ea5fca630dc3991137c5bf4dd
This commit is contained in:
David M. Lee
2015-06-02 15:07:08 -05:00
committed by Joshua Colp
parent d463bac574
commit 9fca378b36
6 changed files with 7 additions and 5 deletions

1
utils/.gitignore vendored
View File

@@ -9,6 +9,7 @@ astdb2bdb
astdb2sqlite3
check_expr
check_expr2
check_expr2.dSYM/
conf2ael
db1-ast/libdb1.a
hashtab.c