Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
projects
:
http-testing
>
nginx-boringssl
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 8
[-]
[+]
Changed
nginx.spec
@@ -122,6 +122,20 @@ fi chmod -Rf a+rX,u+w,g-w,o-w . +cd boringssl +sed -i \ + -e 's:-ggdb -std=c89:-std=c89 -march=sandybridge -O2 -pipe -fdiagnostics-color=always:' \ + -e 's:-ggdb -std=c++0x:-std=c++0x -march=sandybridge -O2 -pipe -fdiagnostics-color=always:' \ + -e '/^add_subdirectory(ssl\/test)/d' \ + -e '/^add_subdirectory(tool)/d' \ + CMakeLists.txt +mkdir build && cd build && cmake ../ && make && cd .. +mkdir -p .compat/lib && cd .compat && ln -s ../include && cp -a ../build/{crypto/libcrypto.a,ssl/libssl.a} lib/ && cd .. +cd .. + + + + %endif @@ -162,7 +176,8 @@ --with-threads \ --with-debug \ --with-ipv6 \ - --with-cc-opt="%{optflags} $(pcre-config --cflags)" \ + --with-cc-opt="%{optflags} $(pcre-config --cflags) -I ../boringssl/.compat/include -I/usr/include" \ + --with-ld-opt="-L ../boringssl/.compat/lib -L/usr/lib" \ --with-openssl=%{_builddir}/nginx-%{version}/boringssl \ --with-file-aio \ --add-module=%{_builddir}/nginx-%{version}/Nginx-limit-traffic-rate-module \