jjb: lttng-ust: Fix missing CPPFLAGS & LDFLAGS on configure for *dist build types
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 26 Jan 2017 16:43:25 +0000 (11:43 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 26 Jan 2017 16:44:46 +0000 (11:44 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
scripts/lttng-ust/build.sh

index e7a1130d779de6fbd24cf47c64f531fdb67c7d74..5b9c39ebb42f2961e54b232303f5516691989c6d 100755 (executable)
@@ -116,7 +116,7 @@ dist)
     echo "Distribution tarball in-tree build"
 
     # Initial configure and generate tarball
-    "$SRCDIR/configure"
+    CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" "$SRCDIR/configure"
     $MAKE dist
 
     BUILD_PATH="$(mktemp -d)"
@@ -136,7 +136,7 @@ oot-dist)
     cd "$BUILD_PATH"
 
     # Initial configure and generate tarball
-    "$SRCDIR/configure"
+    CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" "$SRCDIR/configure"
     $MAKE dist
 
     NEWSRC_PATH="$(mktemp -d)"
This page took 0.067803 seconds and 4 git commands to generate.