From 78e1d117d63cc7bb4382c4e8950652f2e3256b06 Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Sun, 15 Oct 2023 03:06:56 +0800 Subject: [PATCH] --enable-static \ --- deb12/src/Dockerfile.compile2 | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/deb12/src/Dockerfile.compile2 b/deb12/src/Dockerfile.compile2 index a487dbd..eefda34 100644 --- a/deb12/src/Dockerfile.compile2 +++ b/deb12/src/Dockerfile.compile2 @@ -167,13 +167,15 @@ WORKDIR /build/tigervnc-1.12.0/unix/xserver # https://github.com/TigerVNC/tigervnc/issues/740 # deb12: --enable-dri3 >> --disable-dri3 # https://github.com/TigerVNC/tigervnc/blob/master/contrib/packages/rpm/el7/SPECS/tigervnc.spec#L164 +# --disable-static \ #https://github.com/TigerVNC/tigervnc/issues/1534 RUN test "yes" != "$COMPILE_TIGER" && exit 0 || echo doMake; \ autoreconf -fiv; \ CPPFLAGS="-I/usr/include/drm" \ ./configure $XORG_CONFIG \ - --with-cc-opt="-static" \ - --with-ld-opt="-static" \ - --with-cpu-opt="generic" \ + # build-nginx + # --with-cc-opt="-static" \ + # --with-ld-opt="-static" \ + # --with-cpu-opt="generic" \ \ --prefix=/usr/local/tigervnc \ --disable-xwayland --disable-dmx \ @@ -183,8 +185,11 @@ RUN test "yes" != "$COMPILE_TIGER" && exit 0 || echo doMake; \ --disable-unit-tests --disable-selective-werror \ --disable-dri --disable-dri3 --enable-dri2 \ --enable-glx \ + --enable-static \ --with-pic \ - --without-dtrace; \ + --without-dtrace ; \ + # baidu: + # CFLAGS="-static" LDFLAGS="-static" make; \ find /build/tigervnc-1.12.0/ |egrep Xvnc; \ find /build/tigervnc-1.12.0/ |egrep "libos|librfb|librdr|libnetwork|libunixcommon"; \ @@ -228,4 +233,4 @@ RUN apt.sh \ libjpeg62-turbo # libcrypt1 RUN find /rootfs; -RUN /rootfs/usr/local/tigervnc/bin/Xvnc -version +# RUN /rootfs/usr/local/tigervnc/bin/Xvnc -version