forked from rpm-software-management/rpm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdoit.sh
34 lines (31 loc) · 832 Bytes
/
doit.sh
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
#!/bin/sh
_usr=/usr
_sysconfdir=/etc
_var=/var
_libdir=/usr/lib64
_target_platform=x86_64-redhat-linux-gnu
export CPPFLAGS="-DLUA_COMPAT_APIINTCASTS"
#export CFLAGS="-fsanitize=address -fsanitize=undefined -DLUA_COMPAT_APIINTCASTS"
#export CFLAGS="-fsanitize=address -DLUA_COMPAT_APIINTCASTS"
./configure \
--prefix="${_usr}" \
--sysconfdir="${_sysconfdir}" \
--localstatedir="${_var}" \
--sharedstatedir="${_var}/lib" \
--libdir="${_libdir}" \
--build="${_target_platform}" \
--host="${_target_platform}" \
--with-vendor=redhat \
--with-external-db \
--with-lua \
--with-selinux \
--with-cap \
--with-acl \
--enable-ndb \
--enable-python \
--enable-silent-rules \
--with-crypto=openssl \
--with-uuid \
--with-lmdb \
--with-zstd \
--with-libeio