diff options
author | Guilherme Lepsch <lepsch@expertisesolutions.com.br> | 2015-02-12 07:25:10 +0100 |
---|---|---|
committer | Nicolas Aguirre <aguirre.nicolas@gmail.com> | 2015-02-12 07:55:33 +0100 |
commit | 7a302f12d98f06ac0ee6a8d34bc9eb381ecde79b (patch) | |
tree | 2351999291d926cc4feb219b49d05144920c0959 | |
parent | 6b48c106d3261dc3c03c8add24d5d8cad3705bd9 (diff) | |
download | efl-7a302f12d98f06ac0ee6a8d34bc9eb381ecde79b.tar.gz |
eina: Fix MacOS X build with clang 3.6.
Summary:
printf contains and erroneous format specifier and cast
missing LIBTOOLFLAGS for cocoa
Reviewers: felipealmeida, larryolj, naguirre
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1912
Signed-off-by: Nicolas Aguirre <aguirre.nicolas@gmail.com>
-rw-r--r-- | src/Makefile_Ecore_Cocoa.am | 1 | ||||
-rw-r--r-- | src/lib/eina/eina_inline_lock_posix.x | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile_Ecore_Cocoa.am b/src/Makefile_Ecore_Cocoa.am index b3e9d080ab..3321b258fb 100644 --- a/src/Makefile_Ecore_Cocoa.am +++ b/src/Makefile_Ecore_Cocoa.am @@ -21,4 +21,5 @@ lib_ecore_cocoa_libecore_cocoa_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ECOR lib_ecore_cocoa_libecore_cocoa_la_LIBADD = @ECORE_COCOA_LIBS@ lib_ecore_cocoa_libecore_cocoa_la_DEPENDENCIES = @ECORE_COCOA_INTERNAL_LIBS@ lib_ecore_cocoa_libecore_cocoa_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ @cocoa_ldflags@ +lib_ecore_cocoa_libecore_cocoa_la_LIBTOOLFLAGS = --tag=disable-static endif diff --git a/src/lib/eina/eina_inline_lock_posix.x b/src/lib/eina/eina_inline_lock_posix.x index 86e65ef4ba..6abbace0d1 100644 --- a/src/lib/eina/eina_inline_lock_posix.x +++ b/src/lib/eina/eina_inline_lock_posix.x @@ -144,8 +144,8 @@ static inline void eina_lock_debug(const Eina_Lock *mutex) { #ifdef EINA_HAVE_DEBUG_THREADS - printf("lock %p, locked: %i, by %i\n", - mutex, (int)mutex->locked, (int)mutex->lock_thread_id); + printf("lock %p, locked: %i, by %ti\n", + mutex, (int)mutex->locked, (ptrdiff_t)mutex->lock_thread_id); backtrace_symbols_fd((void **)mutex->lock_bt, mutex->lock_bt_num, 1); #else (void) mutex; |