[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/loolwsd-systemplate-setup
Henry Castro
hcastro at collabora.com
Sun Sep 27 09:15:44 PDT 2015
loolwsd/loolwsd-systemplate-setup | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7f9c24eeaeb9dbb5098447ec1a14631b2dd28254
Author: Henry Castro <hcastro at collabora.com>
Date: Sun Sep 27 12:14:57 2015 -0400
loolwsd: use g++ to avoid warnings.
diff --git a/loolwsd/loolwsd-systemplate-setup b/loolwsd/loolwsd-systemplate-setup
index cd11172..0099dfd 100755
--- a/loolwsd/loolwsd-systemplate-setup
+++ b/loolwsd/loolwsd-systemplate-setup
@@ -109,7 +109,7 @@ int main ()
}
_ACEOF
-gcc_compile='gcc -o $dummy.o -c $dummy.cpp'
+gcc_compile='g++ -o $dummy.o -c $dummy.cpp'
(eval "$gcc_compile") 2>$dummy.err
if ! test $? = 0; then
@@ -117,7 +117,7 @@ if ! test $? = 0; then
exit 1;
fi
-gcc_link='gcc -o $dummy -lcap -lpng -ldl -lPocoNet -lPocoUtil -lPocoXML -lPocoJSON -lPocoFoundation $dummy.o'
+gcc_link='g++ -o $dummy -lcap -lpng -ldl -lPocoNet -lPocoUtil -lPocoXML -lPocoJSON -lPocoFoundation $dummy.o'
(eval "$gcc_link") 2>$dummy.err
if ! test $? = 0; then
More information about the Libreoffice-commits
mailing list