# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/libmad/libmad.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 --- var_append confopt ' ' '--enable-accuracy' [ "$SDECFG_DEBUG" != 1 ] && var_append confopt ' ' '--disable-debugging' [ "$SDECFG_STATIC" != 1 ] && var_append confopt ' ' '--enable-shared' [[ "$arch" = mips* ]] && var_append confopt ' ' '--enable-fpm=64bit' var_append GCC_WRAPPER_REMOVE ' ' '-fschedule-insns2 -fexpensive-optimizations -fregmove -fcse-skip-blocks -fcse-follow-jumps -fthread-jumps' pkginstalled pkgconfig && hook_add postmake 3 'sde_substitute $confdir/mad.pc > $root$libdir/pkgconfig/mad.pc'