|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../lvm2/lvm2.conf |
|
|
|
|
# Copyright (C) 2007 - 2011 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2007 - 2013 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
@ -18,6 +18,16 @@ set_confopt
|
|
|
|
|
|
|
|
|
|
var_append extraconfopt ' ' '--datarootdir=$datadir' |
|
|
|
|
|
|
|
|
|
# always regenerate autotools files |
|
|
|
|
# also fixes malloc() detection avoiding undefined reference to `rpl_malloc' |
|
|
|
|
hook_add preconf 9 'autoreconf -vfi' |
|
|
|
|
|
|
|
|
|
# cross-compiling help |
|
|
|
|
if atstage cross; then |
|
|
|
|
# assuming a gnu compatible realloc |
|
|
|
|
var_append configcache ' ' 'ac_cv_func_realloc_0_nonnull=yes' |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ "$SDECFG_STATIC" == 1 ]; then |
|
|
|
|
var_append patchfiles ' ' "$confdir/no_dynamic.diff" |
|
|
|
|
var_append confopt ' ' '--enable-static_link=yes' |
|
|
|
|