summaryrefslogtreecommitdiffstats
path: root/remote/modules/systemd/systemd.build
diff options
context:
space:
mode:
authorChristian Rößler2013-09-10 17:15:57 +0200
committerChristian Rößler2013-09-10 17:15:57 +0200
commitd2cceec7bd3aa2845cdb84d4b0bf802d24ca5ac1 (patch)
tree3c2d42c4de2627df3d929a336f6a60fcbd29bee4 /remote/modules/systemd/systemd.build
parent[system.inc] Forgot to reinstate perror for pwarning ... (diff)
downloadtm-scripts-d2cceec7bd3aa2845cdb84d4b0bf802d24ca5ac1.tar.gz
tm-scripts-d2cceec7bd3aa2845cdb84d4b0bf802d24ca5ac1.tar.xz
tm-scripts-d2cceec7bd3aa2845cdb84d4b0bf802d24ca5ac1.zip
[systemd] corr. variable expor[systemd] corr. variable exportt
Diffstat (limited to 'remote/modules/systemd/systemd.build')
-rw-r--r--remote/modules/systemd/systemd.build13
1 files changed, 6 insertions, 7 deletions
diff --git a/remote/modules/systemd/systemd.build b/remote/modules/systemd/systemd.build
index b1228f17..199f69e7 100644
--- a/remote/modules/systemd/systemd.build
+++ b/remote/modules/systemd/systemd.build
@@ -28,10 +28,9 @@ build () {
OLDCPPFLAGS="$CPPFLAGS"
OLDPKG_CONFIG_PATH="PKG_CONFIG_PATH"
-
- LDFLAGS="$LDFLAGS -L${MODULE_BUILD_DIR}/usr/$LIB64" \
- CPPFLAGS="-I${MODULE_BUILD_DIR}/usr/include"
- PKG_CONFIG_PATH="${MODULE_BUILD_DIR}/usr/$LIB64/pkgconfig"
+ export LDFLAGS="$LDFLAGS -L${MODULE_BUILD_DIR}/usr/$LIB64" \
+ export CPPFLAGS="-I${MODULE_BUILD_DIR}/usr/include"
+ export PKG_CONFIG_PATH="${MODULE_BUILD_DIR}/usr/$LIB64/pkgconfig"
pinfo "-------- $KMOD_LIBS ----------"
./configure --disable-manpages --enable-split-usr --sysconfdir="/etc" --enable-gtk-doc-html=no --disable-nls \
@@ -46,9 +45,9 @@ build () {
cd - &> /dev/null
# Restore used flags/paths:
- LDFLAGS="$OLDLDFLAGS"
- CPPFLAGS="$OLDCPPFLAGS"
- PKG_CONFIG_PATH="$OLDPKG_CONFIG_PATH"
+ export LDFLAGS="$OLDLDFLAGS"
+ export CPPFLAGS="$OLDCPPFLAGS"
+ export PKG_CONFIG_PATH="$OLDPKG_CONFIG_PATH"
# Delete unneeded services
pinfo "Deleting unneeded services"