فهرست منبع

(jenkins) enable pointer compression conditionally, refs #439

Stefan Siegl 4 سال پیش
والد
کامیت
6f2eeb2fc0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Dockerfile.jenkins

+ 1 - 1
Dockerfile.jenkins

@@ -17,6 +17,6 @@ ADD . /php-${PHPVER}/ext/v8js
 WORKDIR /php-${PHPVER}
 
 RUN ./buildconf --force
-RUN ./configure --disable-all --with-readline --enable-cli --enable-json --enable-maintainer-zts --with-v8js=/opt/libv8-$V8VER/  CFLAGS="-fsanitize=address -g -O0" CXXFLAGS="-fsanitize=address -g -O0"
+RUN ./configure --disable-all --with-readline --enable-cli --enable-json --enable-maintainer-zts --with-v8js=/opt/libv8-$V8VER/  CFLAGS="-fsanitize=address -g -O0" CXXFLAGS="-fsanitize=address -g -O0" CPPFLAGS="$([ $( echo "$V8VER" | cut -c 1-1 ) -ge 8 ] && echo "-DV8_COMPRESS_POINTERS" || echo "")"
 RUN sed -e "s/^EXTRA_LIBS.*/& -lv8_libplatform -ldl/" -i Makefile
 RUN make -j5