|
|
@ -12,5 +12,19 @@ |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hook_add preconf 7 "find . -name 'Make*' | xargs sed -i -e 's/-Werror//g' -e 's/remove-destination//'" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BITSFLAG_ARCH=$arch |
|
|
|
|
|
|
|
case "$BITSFLAG_ARCH" in |
|
|
|
|
|
|
|
x86) |
|
|
|
|
|
|
|
BITSFLAG_ARCH="-m32" ;; |
|
|
|
|
|
|
|
x86-64) |
|
|
|
|
|
|
|
BITSFLAG_ARCH="-m64" ;; |
|
|
|
|
|
|
|
*) |
|
|
|
|
|
|
|
BITSFLAG_ARCH="";; |
|
|
|
|
|
|
|
esac |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var_append makeopt ' ' "BITSFLAG=$BITSFLAG_ARCH" |
|
|
|
|
|
|
|
|
|
|
|
srcdir="acpica-unix-$ver/generate/unix/" |
|
|
|
srcdir="acpica-unix-$ver/generate/unix/" |
|
|
|
var_append makeinstopt ' ' "DESTDIR=$root/$prefix" |
|
|
|
var_append makeinstopt ' ' "DESTDIR=$root/$prefix" |
|
|
|