# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/nodejs/nodejs.conf # Copyright (C) 2013 - 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- runpipinstall=0 cleanconfopt=0 LD="$CXX" confopt="--prefix=/$prefix" [ "$SDECFG_LTO" = 1 ] && var_append confopt ' ' '--enable-lto' pkginstalled openssl && var_append confopt ' ' '--shared-openssl' pkginstalled zlib && var_append confopt ' ' '--shared-zlib' pkginstalled icu4c && var_append confopt ' ' '--with-intl=system-icu' if atstage "cross"; then # TODO: needs some translations: 'mac', 'ppc', 'ppc64', 'loong64' var_append confopt ' ' '--without-snapshot --dest-cpu=${arch/-/_} --dest-os=$kernel' fi