+diff -ur LVM2.2.03.01.orig/configure LVM2.2.03.01/configure
+--- LVM2.2.03.01.orig/configure 2018-10-31 14:54:24.000000000 +0000
++++ LVM2.2.03.01/configure 2018-12-04 08:44:19.090403000 +0000
+@@ -3067,7 +3067,7 @@
+ fi
+ case "$host_os" in
+ linux*)
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"} -Wl,--version-script,.export.sym"
++ CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
+ # equivalent to -rdynamic
+ ELDFLAGS="-Wl,--export-dynamic"
+ # FIXME Generate list and use --dynamic-list=.dlopen.sym
+@@ -3087,7 +3087,7 @@
+ ;;
+ darwin*)
+ CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
++ CLDFLAGS="$CLDFLAGS"
+ ELDFLAGS=
+ CLDWHOLEARCHIVE="-all_load"
+ CLDNOWHOLEARCHIVE=
+@@ -3099,9 +3099,6 @@
+ FSADM=no
+ BLKDEACTIVATE=no
+ ;;
+- *)
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
+- ;;
+ esac
+
+ ################################################################################
+diff -ur LVM2.2.03.01.orig/configure.ac LVM2.2.03.01/configure.ac
+--- LVM2.2.03.01.orig/configure.ac 2018-10-31 14:54:24.000000000 +0000
++++ LVM2.2.03.01/configure.ac 2018-12-04 08:44:19.091403000 +0000
+@@ -30,7 +30,7 @@
+ AS_IF([test -z "$CFLAGS"], [COPTIMISE_FLAG="-O2"])
+ case "$host_os" in
+ linux*)
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"} -Wl,--version-script,.export.sym"
++ CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
+ # equivalent to -rdynamic
+ ELDFLAGS="-Wl,--export-dynamic"
+ # FIXME Generate list and use --dynamic-list=.dlopen.sym
+@@ -50,7 +50,7 @@
+ ;;
+ darwin*)
+ CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
++ CLDFLAGS="$CLDFLAGS"
+ ELDFLAGS=
+ CLDWHOLEARCHIVE="-all_load"
+ CLDNOWHOLEARCHIVE=
+@@ -62,9 +62,6 @@
+ FSADM=no
+ BLKDEACTIVATE=no
+ ;;
+- *)
+- CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
+- ;;
+ esac
+
+ ################################################################################