jjb: lttng-modules fix ppc build failure on ubuntu
[lttng-ci.git] / scripts / lttng-ust / build.sh
index dc44f21342bb04755541f3dcf3dcb4ac72b2aba0..5b9c39ebb42f2961e54b232303f5516691989c6d 100755 (executable)
@@ -74,6 +74,11 @@ agents)
     CONF_OPTS+=" --enable-python-agent"
     ;;
 
+debug-rcu)
+    echo "Enable RCU sanity checks for debugging"
+    CPPFLAGS="${CPPFLAGS:-} -DDEBUG_RCU"
+    ;;
+
 *)
     echo "Standard build"
     CONF_OPTS=""
@@ -111,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)"
@@ -131,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.022993 seconds and 4 git commands to generate.