# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/libmpeg2/libmpeg2.conf # Copyright (C) 2004 - 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 --- # remove the generic cpu selection to get the run-time detected Altivec code build [ "$arch" = "powerpc" ] && var_remove_regex GCC_WRAPPER_INSERT " " "-mcpu=.*" # we need to allow VIS code to be build from some files if [ "$arch" = "sparc" ]; then echo_status "Warning: This package will only run on UltraSPARC cpus with VIS!" var_remove_regex GCC_WRAPPER_REMOVE " " "-m.*" var_remove_regex GCC_WRAPPER_INSERT " " "-mcpu=.*" fi [ $arch = x86-64 ] && var_append confopt " " "--disable-accel-detect"