Commit d9398689 authored by Tatiana Meshkova's avatar Tatiana Meshkova

Fixed build on harmattan

parent 9906c3b9
......@@ -28,12 +28,12 @@ PKG_CHECK_MODULES(ENGINE, libxul nspr,
AC_SUBST(IDL_DIR)
])
CXXFLAGS+=" -include mozilla-config.h -std=gnu++0x "
CXXFLAGS+=" -Wno-attributes -Wno-ignored-qualifiers -Wall "
CXXFLAGS+=" -Wno-unused-parameter -Wpointer-arith -Woverloaded-virtual "
CXXFLAGS+=" -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy "
CXXFLAGS+=" -Wno-format -Wno-overlength-strings -Wno-invalid-offsetof "
CXXFLAGS+=" -Wno-variadic-macros -Wno-long-long -Wno-psabi "
CXXFLAGS="$CXXFLAGS -include mozilla-config.h -std=gnu++0x "
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 "
CXXFLAGS="$CXXFLAGS -Wno-format -Wno-overlength-strings -Wno-invalid-offsetof "
CXXFLAGS="$CXXFLAGS -Wno-variadic-macros -Wno-long-long -Wno-psabi "
AC_SUBST(ENGINE_CFLAGS)
AC_SUBST(ENGINE_LIBS)
......
......@@ -15,14 +15,6 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
configopts =
ifneq (,$(findstring $(DEB_HOST_ARCH),arm armel))
CFLAGS += -march=armv5t
endif
ifneq (,$(findstring thumb,$(DEB_BUILD_OPTIONS)))
CFLAGS += -mthumb
endif
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
......
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