• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Révision93fd68762b32fdf9036bc0e6d9dd595ec5869eaf (tree)
l'heure2016-08-26 02:38:34
AuteurMa Jian <majian@jide...>
CommiterChih-Wei Huang

Message de Log

Fix build break on x86_64

When TARGET_ARCH=x86_64, the LOCAL_SRC_FILES will be wrongly set to
codegen.cpp.arm, but the android make will 'smartly' remove the suffix
".arm" and try to compile the codegen.cpp without the libenc dependency.

NO_REF_TASK
Tested: local build

Change-Id: I25df0692886fd8b7c56d467d3b6f674919b09b56

Change Summary

Modification

--- a/libpixelflinger/tests/codegen/Android.mk
+++ b/libpixelflinger/tests/codegen/Android.mk
@@ -1,7 +1,7 @@
11 LOCAL_PATH:= $(call my-dir)
22 include $(CLEAR_VARS)
33
4-ifeq ($(TARGET_ARCH),x86)
4+ifneq ($(filter x86%,$(TARGET_ARCH)),)
55 LOCAL_SRC_FILES:= \
66 codegen.cpp
77 else
@@ -16,7 +16,7 @@ LOCAL_SHARED_LIBRARIES := \
1616 LOCAL_C_INCLUDES := \
1717 $(LOCAL_PATH)/../..
1818
19-ifeq ($(TARGET_ARCH),x86)
19+ifneq ($(filter x86%,$(TARGET_ARCH)),)
2020 LOCAL_STATIC_LIBRARIES := libenc
2121 endif
2222