Skip to content

Commit 425ebc6

Browse files
author
Ahmed Ammar
committed
Update for ICS.
1 parent 47461e8 commit 425ebc6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Android.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ liborc-configure:
2121
LDFLAGS="$(CONFIGURE_LDFLAGS)" \
2222
CPP=$(CONFIGURE_CPP) \
2323
CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
24-
PKG_CONFIG_LIBDIR="$(CONFIGURE_PKG_CONFIG_LIBDIR)" \
24+
PKG_CONFIG_PATH="$(CONFIGURE_PKG_CONFIG_PATH)" \
2525
PKG_CONFIG_TOP_BUILD_DIR=/ \
2626
$(abspath $(liborc_TOP))/configure --host=arm-linux-androideabi \
2727
--prefix=/system --enable-backend=neon --disable-gtk-doc PACKAGE=liborc && \

orc/orcfunctions.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ void
167167
orc_memcpy (void * ORC_RESTRICT d1, const void * ORC_RESTRICT s1, int n)
168168
{
169169
OrcExecutor _ex, *ex = &_ex;
170-
static int p_inited = 0;
170+
static volatile int p_inited = 0;
171171
static OrcCode *c = 0;
172172
void (*func) (OrcExecutor *);
173173

@@ -255,7 +255,7 @@ void
255255
orc_memset (void * ORC_RESTRICT d1, int p1, int n)
256256
{
257257
OrcExecutor _ex, *ex = &_ex;
258-
static int p_inited = 0;
258+
static volatile int p_inited = 0;
259259
static OrcCode *c = 0;
260260
void (*func) (OrcExecutor *);
261261

0 commit comments

Comments
 (0)