diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-29 13:32:37 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-30 21:52:29 +0200 |
commit | 424c479e1ac1edc01d066a3b5ce10d45febf57bc (patch) | |
tree | c1116864fce314773101e82ff43047b9c6f381b5 /solenv | |
parent | 93acae3d17c528bd98b28cc9078c8dd7612316a8 (diff) |
Don't bother with -D_PTHREADS -D_REENTRANT for Android
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/inc/unxandr.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/inc/unxandr.mk b/solenv/inc/unxandr.mk index 9d172dffe767..e8cbd9e796ff 100644 --- a/solenv/inc/unxandr.mk +++ b/solenv/inc/unxandr.mk @@ -34,6 +34,11 @@ CFLAGS+=-fno-omit-frame-pointer # Override some macros set by unxgcc.mk +# _PTHREADS and _REENTRANT are meaningful in glibc headers only, and +# in the NDK in stlport, which we don't use. +CDEFS !:= $(subst,-D_PTHREADS, $(CDEFS)) +CDEFS !:= $(subst,-D_REENTRANT, $(CDEFS)) + # We don't build any "tool" style programs for non-desktop OSes like # Android. Just unit tests and GUI programs. (Well, that is in # theory. In reality any actual "app" with a GUI for Android would be |