forked from davmac314/dinit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mconfig
35 lines (26 loc) · 1.13 KB
/
mconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This file can be used as a basis for manual customisation, by copying it
# to the correct place (../mconfig) before editing. If this is not done,
# Linux configuration will normally be generated by the shell script
# in this directory (mconfig.Linux.sh).
# Installation path options.
SBINDIR=/opt/sbin
MANDIR=/usr/share/man
SYSCONTROLSOCKET=/run/dinitctl
# General build options.
# Linux (GCC). Note with GCC 5.x/6.x you must use the old ABI, with GCC 7.x you must use
# the new ABI. See BUILD.txt file for more information.
CXX=armv7a-linux-androideabi23-clang++
CXXOPTS= -std=c++11 -Os -Wall -fno-rtti -fno-plt -flto -fPIC
LDFLAGS= -static-libstdc++
BUILD_SHUTDOWN=no
USE_UTMPX=0
STRIPOPTS= -s --strip-program="termux-elf-cleaner"
HOSTCXX = clang++
HOSTCXXOPTS = -std=c++11
HOSTLDFLAGS =
# Notes:
# -D_GLIBCXX_USE_CXX11_ABI=1 : force use of new ABI, see above / BUILD.txt
# -fno-rtti (optional) : Dinit does not require C++ Run-time Type Information
# -fno-plt (optional) : Recommended optimisation
# -flto (optional) : Perform link-time optimisation
# -fsanitize=address,undefined : Apply sanitizers (during unit tests)