diff options
author | Nowar Gu <nowar100@gmail.com> | 2011-07-04 15:58:57 +0800 |
---|---|---|
committer | Nowar Gu <nowar100@gmail.com> | 2011-07-04 15:58:57 +0800 |
commit | bff31016eaadd77d9a8870af9cadc80ae6db71f0 (patch) | |
tree | 864a8777f8bd2f1359a880d2785fab6542d2460f | |
parent | f18ecdc4bd4959c1734a6873a1b5d54346831bff (diff) | |
download | gdk-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.mk | 9 |
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 |