[llvm-commits] [llvm-gcc-4.2] r67789 - /llvm-gcc-4.2/trunk/gcc/version.c
Dan Gohman
gohman at apple.com
Thu Mar 26 16:33:06 PDT 2009
Author: djg
Date: Thu Mar 26 18:33:05 2009
New Revision: 67789
URL: http://llvm.org/viewvc/llvm-project?rev=67789&view=rev
Log:
Set llvm-gcc's bug report URL to http://llvm.org/bugs/ by default.
The Apple-specific URL is now only used when llvm-gcc is built
"Apple style", with the build_gcc script.
Modified:
llvm-gcc-4.2/trunk/gcc/version.c
Modified: llvm-gcc-4.2/trunk/gcc/version.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/version.c?rev=67789&r1=67788&r2=67789&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/version.c (original)
+++ llvm-gcc-4.2/trunk/gcc/version.c Thu Mar 26 18:33:05 2009
@@ -27,8 +27,14 @@
forward us bugs reported to you, if you determine that they are
not bugs in your modifications.) */
-/* APPLE LOCAL Apple bug-report */
+/* APPLE LOCAL begin Apple bug-report */
+#ifdef BUILD_LLVM_APPLE_STYLE
+// When llvm-gcc is built "Apple style", use Apple's bugreporter.
const char bug_report_url[] = "<URL:http://developer.apple.com/bugreporter>";
+#else
+const char bug_report_url[] = "<URL:http://llvm.org/bugs/>";
+#endif
+/* APPLE LOCAL end Apple bug-report */
/* The complete version string, assembled from several pieces.
BASEVER, DATESTAMP, and DEVPHASE are defined by the Makefile. */
More information about the llvm-commits
mailing list