mirror of
https://github.com/xerial/snappy-java.git
synced 2025-04-08 19:35:08 +02:00
Added native cross-compilation rules to Makefile
This commit is contained in:
parent
b953178ec6
commit
0dccfe9cfc
8
Makefile
8
Makefile
@ -90,6 +90,14 @@ mac32:
|
||||
linux32:
|
||||
$(MAKE) native OS_NAME=Linux OS_ARCH=i386
|
||||
|
||||
# for cross-compilation on Ubuntu, install the g++-arm-linux-gnueabi package
|
||||
linux-arm:
|
||||
$(MAKE) native CROSS_PREFIX=arm-linux-gnueabi- OS_NAME=Linux OS_ARCH=arm
|
||||
|
||||
# for cross-compilation on Ubuntu, install the g++-arm-linux-gnueabihf package
|
||||
linux-armhf:
|
||||
$(MAKE) native CROSS_PREFIX=arm-linux-gnueabihf- OS_NAME=Linux OS_ARCH=armhf
|
||||
|
||||
clean-native-linux32:
|
||||
$(MAKE) clean-native OS_NAME=Linux OS_ARCH=i386
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user