Commit 9008d19e authored by Tatiana Meshkova's avatar Tatiana Meshkova

Fixed bad compile params for components

*** glibc detected *** ./qmlMozEmbedTest: realloc(): invalid pointer: 0x3b675650 ** - result of that problem
parent eaf1d323
......@@ -5,7 +5,7 @@ libtoolize --automake -c
aclocal
autoconf
autoheader
automake --add-missing --foreign --ignore-deps -a
automake --add-missing --foreign -a
if [ "$NO_CONFIGURE" = "yes" ]; then
echo "Disable auto configure start"
else
......
......@@ -49,7 +49,9 @@ fi
AC_SUBST(SDK_DIR)
AC_SUBST(IDL_DIR)
CXXFLAGS="$CXXFLAGS -include mozilla-config.h -std=gnu++0x -fno-rtti "
# Required flags
CXXFLAGS="$CXXFLAGS -include mozilla-config.h -std=gnu++0x -fno-rtti -fvisibility=hidden "
# random warnings hide
CXXFLAGS="$CXXFLAGS -Wno-attributes -Wno-ignored-qualifiers -Wall "
CXXFLAGS="$CXXFLAGS -Wno-unused-parameter -Wpointer-arith -Woverloaded-virtual "
CXXFLAGS="$CXXFLAGS -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment