Logoj0ke.net Open Build Service > Projects > internetx:projects:http-testing > nginx-boringssl > Changes
Sign Up | Log In

Changes of Revision 8

[-] Changed nginx.spec
x
 
1
@@ -122,6 +122,20 @@
2
 fi
3
 chmod -Rf a+rX,u+w,g-w,o-w .
4
 
5
+cd boringssl 
6
+sed -i \
7
+  -e    's:-ggdb -std=c89:-std=c89 -march=sandybridge -O2 -pipe -fdiagnostics-color=always:' \
8
+  -e 's:-ggdb -std=c++0x:-std=c++0x -march=sandybridge -O2 -pipe -fdiagnostics-color=always:' \
9
+  -e '/^add_subdirectory(ssl\/test)/d' \
10
+  -e '/^add_subdirectory(tool)/d' \
11
+  CMakeLists.txt
12
+mkdir build && cd build && cmake ../ && make && cd ..
13
+mkdir -p .compat/lib && cd .compat && ln -s ../include && cp -a ../build/{crypto/libcrypto.a,ssl/libssl.a} lib/ && cd ..
14
+cd ..
15
+
16
+
17
+
18
+
19
 %endif
20
 
21
 
22
@@ -162,7 +176,8 @@
23
     --with-threads \
24
     --with-debug \
25
     --with-ipv6 \
26
-    --with-cc-opt="%{optflags} $(pcre-config --cflags)" \
27
+    --with-cc-opt="%{optflags} $(pcre-config --cflags) -I ../boringssl/.compat/include -I/usr/include" \
28
+    --with-ld-opt="-L ../boringssl/.compat/lib -L/usr/lib" \
29
     --with-openssl=%{_builddir}/nginx-%{version}/boringssl \
30
     --with-file-aio \
31
     --add-module=%{_builddir}/nginx-%{version}/Nginx-limit-traffic-rate-module \
32