# file : build/root.build # copyright : Copyright (c) 2016-2017 Code Synthesis Ltd # license : GPLv2 with FOSS License Exception; see accompanying COPYING file # C++ style comments are used in the C code, so we specify the lowest possible # standard. # c.std = 99 using c h{*}: extension = h c{*}: extension = c # The upstream package uses -std=gnu++03 on Linux. However we can't specify # C++03 as the code refers strtoull() C function, that was introduced in C++11. # Specifying C++11 looks like an overkill, and can break something else. Let's # not specify the standard at all, as the upstream package does for OSes other # than Lunux. # #cxx.std = 03 using cxx hxx{*}: extension = hpp cxx{*}: extension = cpp