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
rockchip_libcore
Commits
efae3837
Commit
efae3837
authored
11 years ago
by
Ian Rogers
Browse files
Options
Download
Email Patches
Plain Diff
Fix Mac build.
Change-Id: I32fdb9dabbc87d49e0be82ea39c2eea6f452fd6f
parent
995dc174
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
NativeCode.mk
NativeCode.mk
+4
-1
luni/src/main/native/libcore_io_Posix.cpp
luni/src/main/native/libcore_io_Posix.cpp
+3
-0
No files found.
NativeCode.mk
View file @
efae3837
...
...
@@ -118,7 +118,10 @@ LOCAL_SRC_FILES += $(core_src_files)
LOCAL_CFLAGS
+=
$(core_cflags)
LOCAL_C_INCLUDES
+=
$(core_c_includes)
LOCAL_CPPFLAGS
+=
$(core_cppflags)
LOCAL_LDLIBS
+=
-ldl
-lpthread
-lrt
LOCAL_LDLIBS
+=
-ldl
-lpthread
ifeq
($(HOST_OS),linux)
LOCAL_LDLIBS
+=
-lrt
endif
LOCAL_MODULE_TAGS
:=
optional
LOCAL_MODULE
:=
libjavacore
LOCAL_ADDITIONAL_DEPENDENCIES
:=
$(LOCAL_PATH)
/NativeCode.mk
...
...
This diff is collapsed.
Click to expand it.
luni/src/main/native/libcore_io_Posix.cpp
View file @
efae3837
...
...
@@ -61,7 +61,10 @@
#include <termios.h>
#include <unistd.h>
#ifndef __unused
#define __unused __attribute__((__unused__))
#endif
#define TO_JAVA_STRING(NAME, EXP) \
jstring NAME = env->NewStringUTF(EXP); \
...
...
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