diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-08-09 02:26:30 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-08-09 02:26:30 +0000 |
commit | 754ff598d5c21605ed4dbf02ec938acb168f5dba (patch) | |
tree | acaa5771a0978afdc7028a899177b9d4b52c5d0b /unix/build-xorg | |
parent | ca91758fdec79211bd7d90bf580b1022d57a1db5 (diff) | |
download | tigervnc-754ff598d5c21605ed4dbf02ec938acb168f5dba.tar.gz tigervnc-754ff598d5c21605ed4dbf02ec938acb168f5dba.zip |
(Re-)fix static Xvnc build. We can leverage the BUILD_STATIC option to modify our fake libtool scripts such that they pick up the static libstdc++.a. Unfortunately, adding -static-libgcc to those scripts makes libtool barf, so we still have to add that flag to LDFLAGS in build-xorg.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4614 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/build-xorg')
-rwxr-xr-x | unix/build-xorg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/build-xorg b/unix/build-xorg index e71f6dd4..f7abcc24 100755 --- a/unix/build-xorg +++ b/unix/build-xorg @@ -293,7 +293,7 @@ if [ "$MODE" = "build" ]; then fi CFLAGS="$CFLAGS -fPIC" CXXFLAGS="$CXXFLAGS -fPIC" - LDFLAGS="$LDFLAGS -L`pwd`/xorg.build/syslib" + LDFLAGS="$LDFLAGS -static-libgcc -L`pwd`/xorg.build/syslib" echo CC = $CC echo CXX = $CXX echo CFLAGS = $CFLAGS |