X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=build%2Flmake;h=4aa15d220295a703b263012bc203375e4026f02e;hp=0c195c0f105996d95fd8754ff844e3d4a7f20aa1;hb=7971dec12f82b2a1bc8a9ce7395c889e43ee6fd3;hpb=e0c787491bd206ce3423802d9e89dfc6a3aa1856 diff --git a/build/lmake b/build/lmake index 0c195c0..4aa15d2 100755 --- a/build/lmake +++ b/build/lmake @@ -10,6 +10,7 @@ TARGET_ARCH= TARGET_CONFIG= JOBS=1 CONFIGURE_FLAGS= +TMPDIR=${TMPDIR:-"/var/tmp"} # commands to run BUILD_LUSTRE=0 @@ -492,6 +493,7 @@ build_lustre() < build/lustre.spec.in \ > build/lustre.spec $RPMBUILD --target ${TARGET_ARCH} -bb build/lustre.spec \ + --define "_tmpdir $TMPDIR" \ --define "_topdir $(lbuild_topdir)" || \ fatal 1 "Error building Lustre rpms." # $MAKE_J "$MAKE_CC" || fatal 1 "Error building Lustre."