ardour/doc/updating_waf.txt
Robin Gareus 2de4e1d79f patch waf - fixes clang/linux compilation
pkg-config --cflags for c++ libs includes -std=C++11
waf-1.6 has no concept to separate cflags/cxxflags in uselib for c files
clang error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
2016-02-28 21:48:49 +01:00

16 lines
463 B
Plaintext

Download waf (https://waf.io/)
autowaf.py is present in the tools directory of the Ardour source code.
a patch for C++11/clang can be found in tools/waflib.patch (needed for waf 1.8.19)
Current waf is build as follows;
ARDOURSRC=`pwd`
cd /tmp
curl https://waf.io/waf-1.6.11.tar.bz2 | tar xj
cd waf-1.6.11
patch -p1 < $ARDOURSRC/tools/waflib.patch
./waf-light -v --make-waf --tools=misc,doxygen,$ARDOURSRC/tools/autowaf.py --prelude=''
cp ./waf $ARDOURSRC/waf