diff --git a/libtool b/libtool
index 7b4dd92..4ecdcfc 100755
--- a/libtool
+++ b/libtool
@@ -74,7 +74,7 @@
OBJDUMP="objdump"
# Whether or not to build shared libraries.
-build_libtool_libs=yes
+build_libtool_libs=no
# Whether or not to build static libraries.
build_old_libs=yes
@@ -83,7 +83,7 @@
pic_mode=default
# Whether or not to optimize for fast installation.
-fast_install=yes
+fast_install=needless
# The host system.
host_alias=
@@ -161,7 +161,7 @@
lock_old_archive_extraction=no
# A C compiler.
-LTCC="gcc -std=gnu99 -std=gnu99"
+LTCC="g++"
# LTCC compiler flags.
LTCFLAGS="-fopenmp -g -O2 -Wall -pthread"
@@ -281,10 +281,10 @@
dlopen_support=yes
# Whether dlopen of programs is supported.
-dlopen_self=yes
+dlopen_self=no
# Whether dlopen of statically linked programs is supported.
-dlopen_self_static=yes
+dlopen_self_static=unknown
# Commands to strip libraries.
old_striplib="strip --strip-debug"
@@ -302,13 +302,13 @@
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
# A language specific compiler.
-CC="gcc -std=gnu99 -std=gnu99"
+CC="g++"
# Is the compiler the GNU compiler?
with_gcc=yes
# Compiler flag to turn off builtin functions.
-no_builtin_flag=" -fno-builtin"
+no_builtin_flag=" -fno-builtin -fno-rtti -fno-exceptions"
# Additional compiler flags for building library objects.
pic_flag=" -fPIC -DPIC"
@@ -323,7 +323,7 @@
compiler_c_o="yes"
# Whether or not to add -lc for building shared libraries.
-build_libtool_need_lc=no
+build_libtool_need_lc=yes
# Whether or not to disallow shared libs when runtime libs are static.
allow_libtool_libs_with_static_runtimes=no