jjb: fix arm64 lttng-modules build on kernel >=4.13-rc1
[lttng-ci.git] / scripts / liburcu / build.sh
index 20187c4b016956c19774a0ca767c60ad9a3bde56..a3127d92c8281be20e2e6df95f43878c89cb6f71 100755 (executable)
@@ -92,7 +92,8 @@ solaris10)
     TAR=gtar
     NPROC=gnproc
     LDFLAGS=""
-    CFLAGS="-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1"
+    CFLAGS=""
+    export PATH="/opt/csw/bin:/usr/ccs/bin:$PATH"
     ;;
 
 solaris11)
@@ -100,7 +101,7 @@ solaris11)
     TAR=gtar
     NPROC=nproc
     LDFLAGS=""
-    CFLAGS="-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1"
+    CFLAGS=""
     export PATH="$PATH:/usr/perl5/bin"
     ;;
 
@@ -149,8 +150,8 @@ tls_fallback)
 
 debug-rcu)
     echo "Enable RCU sanity checks for debugging"
-    if vergt "$PACKAGE_VERSION" "0.9"; then
-       CONF_OPTS="--enable-debug-rcu"
+    if vergte "$PACKAGE_VERSION" "0.10"; then
+       CONF_OPTS="--enable-rcu-debug"
     else
        CFLAGS="$CFLAGS -DDEBUG_RCU"
     fi
This page took 0.022611 seconds and 4 git commands to generate.