Skip to content

Commit ec14160

Browse files
author
Dane Springmeyer
committed
fix osx compile
1 parent 9da9f9c commit ec14160

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ all: ./build ./webclient ./webserver
1313
#cd ./deps/gyp && curl -o issue_292.diff https://codereview.chromium.org/download/issue14887003_1_2.diff && patch pylib/gyp/xcode_emulation.py issue_292.diff
1414

1515
./build: ./deps/gyp ./deps/libuv ./deps/http-parser
16-
deps/gyp/gyp --depth=. -Goutput_dir=./out -Icommon.gypi --generator-output=./build -Dlibrary=static_library -Duv_library=static_library -f make
16+
deps/gyp/gyp --depth=. -Goutput_dir=./out -Icommon.gypi --generator-output=./build -Dlibrary=static_library -Duv_library=static_library -f make -Dclang=1
1717

1818
./webclient: webclient.cc
1919
make -C ./build/ webclient
@@ -29,6 +29,7 @@ distclean:
2929

3030
test:
3131
./build/out/Release/webserver & ./build/out/Release/webclient && killall webserver
32+
#./build/out/Release/webserver & wrk -d10 -t24 -c24 --latency http://127.0.0.1:8000
3233

3334
clean:
3435
rm -rf ./build/out/Release/obj.target/webserver/

0 commit comments

Comments
 (0)