OSDN Git Service

Remove ENABLE_TIMESTAMPS to ensure reproducible builds.
[android-x86/external-llvm.git] / host / include / llvm / Config / config.h
index 052adab..6694b4e 100644 (file)
@@ -20,7 +20,7 @@
 #define ENABLE_PIC 1
 
 /* Define if timestamp information (e.g., __DATE___) is allowed */
-#define ENABLE_TIMESTAMPS 1
+/* #undef ENABLE_TIMESTAMPS */
 
 /* Directory where gcc is installed. */
 #define GCC_INSTALL_PREFIX ""
 /* Define to 1 if you have the `fmodf' function. */
 #define HAVE_FMODF 1
 
+#ifdef __APPLE__
 /* Define to 1 if you have the `futimes' function. */
 #define HAVE_FUTIMES 1
-
+#else
 /* Define to 1 if you have the `futimens' function. */
-/* #undef HAVE_FUTIMENS */
+#define HAVE_FUTIMENS 1
+#endif  // __APPLE__
 
 /* Define to 1 if you have the `getcwd' function. */
 #define HAVE_GETCWD 1
 #endif
 
 /* Define to 1 if you have the <malloc.h> header file. */
-/* #define HAVE_MALLOC_H 1 */ /* Defined by AndroidConfig.h */
+#if !defined(__APPLE__)
+#define HAVE_MALLOC_H 1
+#else
+/* #undef HAVE_MALLOC_H */
+#endif
 
 /* Define to 1 if you have the <malloc/malloc.h> header file. */
 /* #undef HAVE_MALLOC_MALLOC_H */
 #define LLVM_DATADIR "/opt/llvm-android/share/llvm"
 
 /* Target triple LLVM will generate code for by default */
-#define LLVM_DEFAULT_TARGET_TRIPLE "i386-unknown-linux"
+#define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux"
 
 /* Installation directory for documentation */
 #define LLVM_DOCSDIR "/opt/llvm-android/share/doc/llvm"