mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Merge pull request #352 from bigfatbrowncat/avian-pack
Small fix for Android build on Windows
This commit is contained in:
commit
e7e54ad52b
4
makefile
4
makefile
@ -240,12 +240,14 @@ ifneq ($(android),)
|
|||||||
-g3 \
|
-g3 \
|
||||||
-Werror \
|
-Werror \
|
||||||
-Wno-shift-count-overflow
|
-Wno-shift-count-overflow
|
||||||
|
|
||||||
|
|
||||||
# on Windows (in MinGW-based build) there are neither __BEGIN_DECLS nor __END_DECLS
|
# on Windows (in MinGW-based build) there are neither __BEGIN_DECLS nor __END_DECLS
|
||||||
# defines; we don't want to patch every file that uses them, so we stub them in
|
# defines; we don't want to patch every file that uses them, so we stub them in
|
||||||
# using CFLAGS mechanism
|
# using CFLAGS mechanism
|
||||||
|
# Also we have off64_t defined in mingw-w64 headers, so let's tell that
|
||||||
ifeq ($(platform),windows)
|
ifeq ($(platform),windows)
|
||||||
android-cflags += "-D__BEGIN_DECLS=extern \"C\" {" "-D__END_DECLS=}"
|
android-cflags += "-D__BEGIN_DECLS=extern \"C\" {" "-D__END_DECLS=}" "-DHAVE_OFF64_T"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
luni-cpps := $(shell find $(luni-native) -name '*.cpp')
|
luni-cpps := $(shell find $(luni-native) -name '*.cpp')
|
||||||
|
Loading…
Reference in New Issue
Block a user