diff options
author | Denis Khalikov <d.khalikov@partner.samsung.com> | 2018-04-04 12:16:08 +0300 |
---|---|---|
committer | Denis Khalikov <d.khalikov@partner.samsung.com> | 2018-04-04 13:55:32 +0300 |
commit | 38543bd004e08208a46f6ecd90dec568db5258d2 (patch) | |
tree | 2df5b6aec7159650c0658df44bee24a975bc5df1 | |
parent | f992d2e0c86961af60f3cc7f9e1f4d8c9de1f1a1 (diff) | |
download | efl-theme-tizen-mobile-38543bd004e08208a46f6ecd90dec568db5258d2.tar.gz efl-theme-tizen-mobile-38543bd004e08208a46f6ecd90dec568db5258d2.tar.bz2 efl-theme-tizen-mobile-38543bd004e08208a46f6ecd90dec568db5258d2.zip |
[ASan] Disable multithreaded build.sandbox/denis13/asan
Disable multithreaded build to fix out of memory error.
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | mobile/Makefile.am | 11 | ||||
-rw-r--r-- | packaging/efl-theme-tizen-mobile.spec | 2 |
3 files changed, 16 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 5d056bd0..c07c74fa 100644 --- a/configure.ac +++ b/configure.ac @@ -6,6 +6,13 @@ AC_INIT([efl-theme-tizen-mobile], [0.1], [jae.hwan.kim@samsung.com]) AM_INIT_AUTOMAKE([foreign]) +AC_ARG_ENABLE([threads], + [AC_HELP_STRING([--enable-threads], [Specify multithreaded build])], + [enable_threads=$enableval], + [enable_threads=yes]) + +AM_CONDITIONAL([DISABLE_THREADS], [test x$enable_threads = xno]) + # Checks for programs. # Checks for libraries. diff --git a/mobile/Makefile.am b/mobile/Makefile.am index 7e9f9c56..3ed2ea64 100644 --- a/mobile/Makefile.am +++ b/mobile/Makefile.am @@ -9,9 +9,14 @@ EDJE_FLAGS = -no-save SRC=efl-theme-tizen-mobile DEFAULT_SRC=default CSHARP_SRC=elm-sharp-theme +if DISABLE_THREADS +THREADS_OPTION=-nothreads +else +THREADS_OPTION= +endif all: - edje_cc $(EDJE_FLAGS) $(EDJE_FLAGS_$(V)) \ + edje_cc $(THREADS_OPTION) $(EDJE_FLAGS) $(EDJE_FLAGS_$(V)) \ -id ./HD/images/\ -id ./HD/images/Navigation_elements\ -id ./HD/images/Presentation_views\ @@ -22,7 +27,7 @@ all: -id ./HD/images/Old\ -sd ./HD/sounds -fd ../objects \ $(SRC).edc $(SRC).edj; - edje_cc $(EDJE_FLAGS) $(EDJE_FLAGS_$(V)) \ + edje_cc $(THREADS_OPTION) $(EDJE_FLAGS) $(EDJE_FLAGS_$(V)) \ -id default/images/tizen-hd -sd default/sounds -fd ../objects \ -id ./HD/images/\ -id ./HD/images/Navigation_elements\ @@ -33,7 +38,7 @@ all: -id ./HD/images/Emoticon\ -id ./HD/images/Old\ $(DEFAULT_SRC).edc $(DEFAULT_SRC).edj; - edje_cc $(EDJE_FLAGS) $(EDJE_FLAGS_$(V)) \ + edje_cc $(THREADS_OPTION) $(EDJE_FLAGS) $(EDJE_FLAGS_$(V)) \ -id default/images/tizen-hd -sd default/sounds -fd ../objects \ -id ./HD/images/\ -id ./HD/images/Navigation_elements\ diff --git a/packaging/efl-theme-tizen-mobile.spec b/packaging/efl-theme-tizen-mobile.spec index 907a0ffa..833870ac 100644 --- a/packaging/efl-theme-tizen-mobile.spec +++ b/packaging/efl-theme-tizen-mobile.spec @@ -35,7 +35,7 @@ EFL themes for Elm-Sharp Mobile %build autoreconf -ivf -%configure +%configure %{?asan: --disable-threads} export CFLAGS+=" --fPIC" export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib" make |