2011-10-28 11:05:35 +04:00
|
|
|
#
|
2012-05-29 19:52:43 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-10-28 11:05:35 +04:00
|
|
|
|
2013-07-25 15:46:53 +04:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),$(findstring $(MOZ_WIDGET_TOOLKIT),android gonk))
|
2012-08-02 00:43:15 +04:00
|
|
|
OS_CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(CAIRO_FT_CFLAGS)
|
2011-10-28 11:05:35 +04:00
|
|
|
endif
|
|
|
|
|
2013-08-28 15:14:47 +04:00
|
|
|
ifdef MOZ_WIDGET_GTK
|
2012-08-02 00:43:15 +04:00
|
|
|
OS_CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PANGO_CFLAGS) $(CAIRO_FT_CFLAGS)
|
2012-01-26 04:54:31 +04:00
|
|
|
endif
|
|
|
|
|
2012-03-23 00:24:57 +04:00
|
|
|
ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
|
2012-08-02 00:43:15 +04:00
|
|
|
OS_CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PANGO_CFLAGS) $(CAIRO_FT_CFLAGS)
|
2011-11-18 08:00:37 +04:00
|
|
|
endif
|
|
|
|
|
2011-10-28 11:05:35 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2011-11-30 13:26:15 +04:00
|
|
|
|
2012-08-23 22:34:29 +04:00
|
|
|
ifeq ($(CPU_ARCH)_$(GNU_CC),arm_1)
|
|
|
|
# The assembly uses the frame pointer register (r7 in Thumb/r11 in
|
|
|
|
# ARM), the compiler doesn't like that.
|
|
|
|
CXXFLAGS := $(filter-out -fno-omit-frame-pointer,$(CXXFLAGS)) -fomit-frame-pointer
|
|
|
|
CFLAGS := $(filter-out -fno-omit-frame-pointer,$(CFLAGS)) -fomit-frame-pointer
|
|
|
|
endif
|