mirror of https://github.com/sysown/proxysql
Added C++ headers file in cpp.h bug fix in xchg_32 : gcc ignores it, clang doesn't Replaced -rdynamic with --export-dynamic Removed the override of env variables CC , CXX , CFLAGS , CPPFLAGS and LIBS Fixed definition in MySQL_Monitor.cpp : gcc ignores it, clang doesn't Added a compile example text filepull/448/head
parent
50844fbde1
commit
4fa1e91e95
@ -0,0 +1,8 @@
|
||||
## On Linux
|
||||
## compile using gcc 4.8
|
||||
time CXX=g++-4.8 CC=gcc-4.8 make -j 5 build_deps
|
||||
|
||||
## On Linux
|
||||
## compile using clang 3.6 and stdc++4.8
|
||||
CXX=clang++-3.6 CC=clang-3.6 CPPFLAGS="-I/usr/include/c++/4.8/ -I/usr/include/x86_64-linux-gnu/c++/4.8" LDFLAGS="-L/usr/lib/x86_64-linux-gnu/ -L/usr/lib/gcc/x86_64-linux-gnu/4.8" make -j 5 build_deps
|
||||
CXX=clang++-3.6 CC=clang-3.6 CPPFLAGS="-I/usr/include/c++/4.8/ -I/usr/include/x86_64-linux-gnu/c++/4.8" LDFLAGS="-L/usr/lib/x86_64-linux-gnu/ -L/usr/lib/gcc/x86_64-linux-gnu/4.8" make -j 5
|
||||
Loading…
Reference in new issue