summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Lepsch <lepsch@expertisesolutions.com.br>2015-02-12 07:25:10 +0100
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-02-12 07:55:33 +0100
commit7a302f12d98f06ac0ee6a8d34bc9eb381ecde79b (patch)
tree2351999291d926cc4feb219b49d05144920c0959
parent6b48c106d3261dc3c03c8add24d5d8cad3705bd9 (diff)
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.am1
-rw-r--r--src/lib/eina/eina_inline_lock_posix.x4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile_Ecore_Cocoa.am b/src/Makefile_Ecore_Cocoa.am
index b3e9d08..3321b25 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
21lib_ecore_cocoa_libecore_cocoa_la_LIBADD = @ECORE_COCOA_LIBS@ 21lib_ecore_cocoa_libecore_cocoa_la_LIBADD = @ECORE_COCOA_LIBS@
22lib_ecore_cocoa_libecore_cocoa_la_DEPENDENCIES = @ECORE_COCOA_INTERNAL_LIBS@ 22lib_ecore_cocoa_libecore_cocoa_la_DEPENDENCIES = @ECORE_COCOA_INTERNAL_LIBS@
23lib_ecore_cocoa_libecore_cocoa_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ @cocoa_ldflags@ 23lib_ecore_cocoa_libecore_cocoa_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ @cocoa_ldflags@
24lib_ecore_cocoa_libecore_cocoa_la_LIBTOOLFLAGS = --tag=disable-static
24endif 25endif
diff --git a/src/lib/eina/eina_inline_lock_posix.x b/src/lib/eina/eina_inline_lock_posix.x
index 86e65ef..6abbace 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
144eina_lock_debug(const Eina_Lock *mutex) 144eina_lock_debug(const Eina_Lock *mutex)
145{ 145{
146#ifdef EINA_HAVE_DEBUG_THREADS 146#ifdef EINA_HAVE_DEBUG_THREADS
147 printf("lock %p, locked: %i, by %i\n", 147 printf("lock %p, locked: %i, by %ti\n",
148 mutex, (int)mutex->locked, (int)mutex->lock_thread_id); 148 mutex, (int)mutex->locked, (ptrdiff_t)mutex->lock_thread_id);
149 backtrace_symbols_fd((void **)mutex->lock_bt, mutex->lock_bt_num, 1); 149 backtrace_symbols_fd((void **)mutex->lock_bt, mutex->lock_bt_num, 1);
150#else 150#else
151 (void) mutex; 151 (void) mutex;