diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2017-12-20 14:53:16 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2017-12-20 14:53:16 -0800 |
commit | 10b971c5299a4e4303eab5b594a96636cd234c98 (patch) | |
tree | 6afe1694f5307d9cf5cc126d24615734333175c3 /gen_compile.sh | |
parent | gen_cmdline: make --mdadm local binary requirement less strict (diff) | |
download | genkernel-10b971c5299a4e4303eab5b594a96636cd234c98.tar.gz genkernel-10b971c5299a4e4303eab5b594a96636cd234c98.tar.bz2 genkernel-10b971c5299a4e4303eab5b594a96636cd234c98.zip |
gen_compile: fix dmraid lvm linking
This will hopefully fix dmraid linking against newer LVM.
Bug: https://bugs.gentoo.org/631368
Suggested-by: Ian Stakenvicius <axs@gentoo.org>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'gen_compile.sh')
-rwxr-xr-x | gen_compile.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gen_compile.sh b/gen_compile.sh index 02f3de51..c2870542 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -632,7 +632,8 @@ compile_dmraid() { CFLAGS="-I${TEMP}/lvm/include" \ DEVMAPPEREVENT_CFLAGS="-I${TEMP}/lvm/include" \ CPPFLAGS="-I${TEMP}/lvm/include" \ - LIBS="-ldevmapper" \ + LIBS="-ldevmapper -lm -lrt -lpthread" \ + LDFLAGS='-Wl,--no-as-needed' \ ./configure --enable-static_link \ --with-devmapper-prefix="${TEMP}/lvm" \ --prefix=${TEMP}/dmraid >> ${LOGFILE} 2>&1 || |