summaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build30
1 files changed, 0 insertions, 30 deletions
diff --git a/build/root.build b/build/root.build
deleted file mode 100644
index e4c8077..0000000
--- a/build/root.build
+++ /dev/null
@@ -1,30 +0,0 @@
-# file : build/root.build
-# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd
-# license : GPLv2 with FOSS License Exception; see accompanying COPYING file
-
-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 to the strtoull() C function that was introduced
-# in C++11. Specifying C++11 looks like an overkill, and can break something
-# else. And Clang doesn't recognize gnu++03, only gnu++98.
-#
-using cxx.guess
-
-cxx.std = ($cxx.class == 'gcc' ? gnu++98 : 03)
-
-using cxx
-
-hxx{*}: extension = hpp
-cxx{*}: extension = cpp
-
-if ($c.class == 'msvc')
-{
- cc.poptions += -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
- cc.coptions += /wd4251 /wd4275 /wd4800
-}