diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-08-11 11:53:03 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-08-11 11:53:03 -0400 |
commit | 8c643b51bfa18a82d6424a7b8917f7fbe96feb6e (patch) | |
tree | 48398f251be0a8b2db1c44a800b9b0debffa541b /configure.in | |
parent | 5da9f722f27c0df9e90a59318ea8182743ab0e44 (diff) | |
parent | 92bea30e28f62ea4c5d335420e2a328ff64598bc (diff) | |
download | tor-8c643b51bfa18a82d6424a7b8917f7fbe96feb6e.tar.gz tor-8c643b51bfa18a82d6424a7b8917f7fbe96feb6e.zip |
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 0a018628db..6437183550 100644 --- a/configure.in +++ b/configure.in @@ -1123,6 +1123,15 @@ else enable_gcc_warnings_advisory=no fi +# OS X Lion started deprecating the system openssl. Let's just disable +# all deprecation warnings on OS X. +case "$host_os" in + + darwin*) + CFLAGS="$CFLAGS -Wno-deprecated-declarations" + ;; +esac + # Add some more warnings which we use in development but not in the # released versions. (Some relevant gcc versions can't handle these.) if test x$enable_gcc_warnings = xyes || test x$enable_gcc_warnings_advisory = xyes; then |