Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
ndk
Commits
3feac42e
Commit
3feac42e
authored
11 years ago
by
Andrew Hsieh
Browse files
Options
Download
Email Patches
Plain Diff
Fixed RS to link arch-specific libclcore.bc
Change-Id: I581e5350f32b21959d6e1ab964ccf67e4773e916
parent
ac87b111
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
build/core/definitions.mk
build/core/definitions.mk
+1
-1
build/core/setup-app.mk
build/core/setup-app.mk
+0
-1
No files found.
build/core/definitions.mk
View file @
3feac42e
...
...
@@ -1484,7 +1484,7 @@ $$(_OBJ): $$(_RS_SRC) $$(LOCAL_MAKEFILE) $$(NDK_APP_APPLICATION_MK) $$(NDK_DEPEN
$
$(hide)
\
cd
$
$(
call
host-path,
$
$(
dir
$
$(PRIVATE_RS_SRC)
))
&&
$
$(PRIVATE_RS_CC)
-o
$
$(
call
host-path,
$
$(
abspath
$
$(
dir
$
$(PRIVATE_OBJ)
)))
/
-d
$
$(
abspath
$
$(
call
host-path,
$
$(
dir
$
$(PRIVATE_OBJ)
)))
-MD
-reflect-c
++
$
$(PRIVATE_RS_FLAGS)
$
$(
notdir
$
$(PRIVATE_RS_SRC)
)
$
$(hide)
\
$
$(PRIVATE_RS_BCC)
-O3
-o
$
$(
call
host-path,
$
$(PRIVATE_BC_OBJ)
)
-fPIC
-shared
-rt-path
$
$(
call
host-path,
$(
RENDERSCRIPT_TOOLCHAIN_LIB)
/libclcore.bc
)
-mtriple
$
$(PRIVATE_RS_TRIPLE)
$
$(
call
host-path,
$
$(PRIVATE_BC_SRC)
)
&&
\
$
$(PRIVATE_RS_BCC)
-O3
-o
$
$(
call
host-path,
$
$(PRIVATE_BC_OBJ)
)
-fPIC
-shared
-rt-path
$
$(
call
host-path,
$(
SYSROOT_LINK)
/usr/lib/rs
/libclcore.bc
)
-mtriple
$
$(PRIVATE_RS_TRIPLE)
$
$(
call
host-path,
$
$(PRIVATE_BC_SRC)
)
&&
\
$
$(PRIVATE_CXX)
-shared
-Wl
,-soname,librs.
$
$(PRIVATE_BC_SO)
-nostdlib
$
$(
call
host-path,
$
$(PRIVATE_BC_OBJ)
)
$
$(
call
host-path,
$(SYSROOT_LINK)
/usr/lib/rs/libcompiler_rt.a
)
-o
$
$(
call
host-path,
$
$(PRIVATE_OUT)
/librs.
$
$(PRIVATE_BC_SO)
)
-L
$
$(
call
host-path,
$(SYSROOT_LINK)
/usr/lib
)
-L
$
$(
call
host-path,
$(SYSROOT_LINK)
/usr/lib/rs
)
-lRSSupport
-lm
-lc
&&
\
$
$(PRIVATE_CXX)
-MMD
-MP
-MF
$
$(
call
convert-deps,
$
$(PRIVATE_DEPS)
)
$
$(PRIVATE_CPPFLAGS)
$
$(
call
host-path,
$
$(PRIVATE_CPP_SRC)
)
-o
$
$(
call
host-path,
$
$(PRIVATE_OBJ)
)
\
$
$(
call
cmd-convert-deps,
$
$(PRIVATE_DEPS)
)
...
...
This diff is collapsed.
Click to expand it.
build/core/setup-app.mk
View file @
3feac42e
...
...
@@ -110,7 +110,6 @@ endif
RENDERSCRIPT_TOOLCHAIN_ROOT
:=
$(NDK_ROOT)
/toolchains/renderscript
RENDERSCRIPT_TOOLCHAIN_PREBUILT_ROOT
:=
$(
call
host-prebuilt-tag,
$(RENDERSCRIPT_TOOLCHAIN_ROOT)
)
RENDERSCRIPT_TOOLCHAIN_PREFIX
:=
$(RENDERSCRIPT_TOOLCHAIN_PREBUILT_ROOT)
/bin/
RENDERSCRIPT_TOOLCHAIN_LIB
:=
$(RENDERSCRIPT_TOOLCHAIN_PREBUILT_ROOT)
/lib
RENDERSCRIPT_TOOLCHAIN_HEADER
:=
$(RENDERSCRIPT_TOOLCHAIN_PREBUILT_ROOT)
/lib/clang/3.3/include
# Each ABI
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment