summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNowar Gu <nowar100@gmail.com>2011-07-04 15:58:57 +0800
committerNowar Gu <nowar100@gmail.com>2011-07-04 15:58:57 +0800
commitbff31016eaadd77d9a8870af9cadc80ae6db71f0 (patch)
tree864a8777f8bd2f1359a880d2785fab6542d2460f
parentf18ecdc4bd4959c1734a6873a1b5d54346831bff (diff)
downloadgdk-bff31016eaadd77d9a8870af9cadc80ae6db71f0.tar.gz
Use cp rather then llvm-link temporarily.
Otherwise it will break the building system.
-rw-r--r--build/core/default-build-commands.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/build/core/default-build-commands.mk b/build/core/default-build-commands.mk
index 9b36c84..dba567f 100644
--- a/build/core/default-build-commands.mk
+++ b/build/core/default-build-commands.mk
@@ -16,10 +16,11 @@ TARGET_NO_EXECUTE_CFLAGS := -Wa,--noexecstack
TARGET_NO_EXECUTE_LDFLAGS := -Wl,-z,noexecstack
# Should replace cp with $(BITCODE_LD) but will cause seg fault
-#define cmd-build-bitcode
-# @mkdir -p $(dir $(call host-path,$@))
-# @cp $(call host-path,$(PRIVATE_OBJECTS)) $(call host-path,$@)
-#endef
+# FIXME(Nowar): After refactoring, we should not use this anymore.
+define cmd-build-bitcode
+ @mkdir -p $(dir $(call host-path,$@))
+ @cp $(call host-path,$(PRIVATE_OBJECTS)) $(call host-path,$@)
+endef
# NOTE: Ensure that TARGET_LIBGCC is placed after all private objects
# and static libraries, but before any other library in the link