diff --git a/legacy/edje/src/bin/edje_cc.c b/legacy/edje/src/bin/edje_cc.c index 4e06457424..84b535ebe1 100644 --- a/legacy/edje/src/bin/edje_cc.c +++ b/legacy/edje/src/bin/edje_cc.c @@ -30,7 +30,7 @@ int no_save = 0; int min_quality = 0; int max_quality = 100; int compress_mode = EET_COMPRESSION_DEFAULT; -int threads = 0; +int threads = 1; static void main_help(void) @@ -56,7 +56,8 @@ main_help(void) "-Ddefine_val=to CPP style define to define input macro definitions to the .edc source\n" "-fastcomp Use a faster compression algorithm (LZ4) (mutually exclusive with -fastdecomp)\n" "-fastdecomp Use a faster decompression algorithm (LZ4HC) (mutually exclusive with -fastcomp)\n" - "-threads Compile the edje file using multiple parallel threads\n" + "-threads Compile the edje file using multiple parallel threads (by default)\n" + "-nothreads Compile the edje file using only the main loop\n" ,progname); } @@ -161,6 +162,10 @@ main(int argc, char **argv) { threads = 1; } + else if (!strcmp(argv[i], "-nothreads")) + { + threads = 0; + } else if (!strncmp(argv[i], "-D", 2)) { defines = eina_list_append(defines, mem_strdup(argv[i]));