* updated yet more dir-less .cache DEPs
[t2sde.git] / package / network / haproxy / haproxy.conf
blobd74779b978a945470b73020d0febf56958e19a9b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/haproxy/haproxy.conf
3 # Copyright (C) 2014 - 2022 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 var_append makeopt ' ' "TARGET=linux-glibc"
14 # use pcre for regex (recommended)
15 if pkginstalled pcre; then
16         var_append makeopt ' ' "USE_PCRE=1"
17         # it is recommended to link in pcre statically
18         var_append makeopt ' ' "USE_STATIC_PCRE=1"
19 else
20         echo_warning "PCRE is not available but recommended for regex support!"
23 var_append makeinstopt ' ' "DESTDIR=$root"
24 if atstage cross; then
25         var_append makeopt ' ' "LD=$CC"