Replacing 'uname -p' with 'uname -m' in Makefile.
This commit is contained in:
@@ -139,7 +139,7 @@ export SHELL=/bin/bash
|
|||||||
all: precommit
|
all: precommit
|
||||||
|
|
||||||
$(BUILD_DIRS_NATIVE):
|
$(BUILD_DIRS_NATIVE):
|
||||||
@ arch=`uname -p`; \
|
@ arch=`uname -m`; \
|
||||||
if [ "$$arch" == "armv7l" ]; \
|
if [ "$$arch" == "armv7l" ]; \
|
||||||
then \
|
then \
|
||||||
readelf -A /proc/self/exe | grep Tag_ABI_VFP_args && arch=$$arch"-hf" || arch=$$arch"-el";\
|
readelf -A /proc/self/exe | grep Tag_ABI_VFP_args && arch=$$arch"-hf" || arch=$$arch"-el";\
|
||||||
|
|||||||
Reference in New Issue
Block a user