-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathJinxfile
More file actions
18 lines (16 loc) · 765 Bytes
/
Copy pathJinxfile
File metadata and controls
18 lines (16 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
JINX_MAJOR_VER=0.8
JINX_DEBIAN_SNAPSHOT=20260430T144239Z
JINX_BASE_PACKAGES="autopoint bison cmake docbook-xsl docbook-xml docbook-xsl-ns docbook5-xml doxygen file flex gettext groff m4 make meson ninja-build perl python3 texinfo w3m which xmlto xsltproc"
JINX_REPO_URL="https://astral-os.org/repository/${JINX_ARCH}/"
# Can't use -march=x86-64 and whatnot in global CFLAGS on non-x86_64 hosts, since it affects host-recipes too
# FIXME: should separate target vs host CFLAGS at some point
if [ "$(uname -m)" = "x86_64" ]; then
export CFLAGS="-O2 -march=x86-64 -pipe -mtune=generic"
else
export CFLAGS="-O2 -pipe"
fi
export CXXFLAGS="${CFLAGS}"
copy_install_hook () {
cp -v ${base_dir}/install-hooks/${name} ${dest_dir}/INSTALL
chmod +x ${dest_dir}/INSTALL
}