[tor-commits] [torbrowser/maint-2.3] --enable-gcc-warnings on osx and windows alpha tors
erinn at torproject.org
erinn at torproject.org
Mon Mar 19 04:31:06 UTC 2012
commit 97bd74cb943bdba2f95564d20bd27e4aa9e4e0b1
Author: Erinn Clark <erinn at torproject.org>
Date: Mon Mar 19 01:29:06 2012 -0300
--enable-gcc-warnings on osx and windows alpha tors
---
build-scripts/osx-alpha.mk | 2 +-
build-scripts/windows-alpha.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/build-scripts/osx-alpha.mk b/build-scripts/osx-alpha.mk
index 8cf79e1..ddc796e 100644
--- a/build-scripts/osx-alpha.mk
+++ b/build-scripts/osx-alpha.mk
@@ -116,7 +116,7 @@ build-libevent:
TOR_DIR=$(FETCH_DIR)/tor-$(TOR_VER)
TOR_CFLAGS="-O -g -arch $(ARCH_TYPE) -I$(BUILT_DIR)/include -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk"
TOR_LDFLAGS="-L$(BUILT_DIR)/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk"
-TOR_OPTS=--enable-static-openssl --enable-static-libevent --with-openssl-dir=$(BUILT_DIR)/lib --with-libevent-dir=$(BUILT_DIR)/lib --prefix=$(BUILT_DIR) --disable-dependency-tracking CC="gcc-4.0"
+TOR_OPTS=--enable-gcc-warnings --enable-static-openssl --enable-static-libevent --with-openssl-dir=$(BUILT_DIR)/lib --with-libevent-dir=$(BUILT_DIR)/lib --prefix=$(BUILT_DIR) --disable-dependency-tracking CC="gcc-4.0"
build-tor:
cd $(TOR_DIR) && CFLAGS=$(TOR_CFLAGS) LDFLAGS=$(TOR_LDFLAGS) ./configure $(TOR_OPTS)
cd $(TOR_DIR) && make
diff --git a/build-scripts/windows-alpha.mk b/build-scripts/windows-alpha.mk
index 8155392..b8e8033 100644
--- a/build-scripts/windows-alpha.mk
+++ b/build-scripts/windows-alpha.mk
@@ -121,7 +121,7 @@ build-libevent:
TOR_DIR=$(FETCH_DIR)/tor-$(TOR_VER)
TOR_CFLAGS="-O -g -I$(BUILT_DIR)/include"
TOR_LDFLAGS="-L$(BUILT_DIR)/lib -L$(BUILT_DIR)/bin"
-TOR_OPTS=--enable-static-libevent --with-libevent-dir=$(BUILT_DIR)/lib --prefix=$(BUILT_DIR)
+TOR_OPTS=--enable-gcc-warnings --enable-static-libevent --with-libevent-dir=$(BUILT_DIR)/lib --prefix=$(BUILT_DIR)
build-tor:PATH+=:$(BUILT_DIR)/bin
build-tor:
cd $(TOR_DIR) && CFLAGS=$(TOR_CFLAGS) LDFLAGS=$(TOR_LDFLAGS) ./configure $(TOR_OPTS)
More information about the tor-commits
mailing list