Restore original intention of CPPFLAGS (preprocessor) and CFLAGS (compiler)

cleanup-cruft
Sebastian Pipping 14 years ago
parent e8a7572203
commit 6bdb86a8ef

@ -427,8 +427,8 @@ compile_lvm() {
apply_patches lvm ${LVM_VER}
print_info 1 'lvm: >> Configuring...'
LDFLAGS="-L${TEMP}/device-mapper/lib" \
CFLAGS="-fPIC -I${TEMP}/device-mapper/include" \
CPPFLAGS="-fPIC -I${TEMP}/device-mapper/include" \
CFLAGS="-fPIC" \
CPPFLAGS="-I${TEMP}/device-mapper/include" \
./configure --enable-static_link --prefix=${TEMP}/lvm \
--with-lvm1=none --with-clvmd=none --with-cluster=none \
--disable-readline --disable-selinux --with-mirrors=none \
@ -510,7 +510,6 @@ compile_device_mapper() {
gen_die "device-mapper directory ${DEVICE_MAPPER_DIR} invalid"
cd "${DEVICE_MAPPER_DIR}"
CFLAGS="-fPIC" \
CPPFLAGS="-fPIC" \
./configure --prefix=${TEMP}/device-mapper --enable-static_link \
--disable-selinux >> ${LOGFILE} 2>&1 ||
gen_die 'Configuring device-mapper failed!'

Loading…
Cancel
Save