Commit 51ab11f Ian Lance Taylor
committed
1 parent 79a97aa commit 51ab11f Copy full SHA for 51ab11f
File tree 3 files changed +41
-0
lines changed
3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ 2013-02-05 Ian Lance Taylor <
[email protected] >
2
+
3
+ PR go/55969
4
+ * configure.ac: Disable libgo on some systems where it does not
5
+ work.
6
+ * configure: Rebuild.
7
+
1
8
2013-02-05 Alan Modra <
[email protected] >
2
9
3
10
* configure: Regenerate after syncing config/.
Original file line number Diff line number Diff line change @@ -3413,6 +3413,23 @@ case "${target}" in
3413
3413
;;
3414
3414
esac
3415
3415
3416
+ # Disable libgo for some systems where it is known to not work.
3417
+ # For testing, you can easily override this with --enable-libgo.
3418
+ if test x$enable_libgo = x; then
3419
+ case " ${target} " in
3420
+ * -* -darwin* )
3421
+ # PR 46986
3422
+ noconfigdirs=" $noconfigdirs target-libgo"
3423
+ ;;
3424
+ * -* -cygwin* | * -* -mingw* )
3425
+ noconfigdirs=" $noconfigdirs target-libgo"
3426
+ ;;
3427
+ * -* -aix* )
3428
+ noconfigdirs=" $noconfigdirs target-libgo"
3429
+ ;;
3430
+ esac
3431
+ fi
3432
+
3416
3433
# Default libgloss CPU subdirectory.
3417
3434
libgloss_dir=" $target_cpu "
3418
3435
Original file line number Diff line number Diff line change @@ -752,6 +752,23 @@ case "${target}" in
752
752
;;
753
753
esac
754
754
755
+ # Disable libgo for some systems where it is known to not work.
756
+ # For testing, you can easily override this with --enable-libgo.
757
+ if test x$enable_libgo = x; then
758
+ case "${target}" in
759
+ *-*-darwin*)
760
+ # PR 46986
761
+ noconfigdirs="$noconfigdirs target-libgo"
762
+ ;;
763
+ *-*-cygwin* | *-*-mingw*)
764
+ noconfigdirs="$noconfigdirs target-libgo"
765
+ ;;
766
+ *-*-aix*)
767
+ noconfigdirs="$noconfigdirs target-libgo"
768
+ ;;
769
+ esac
770
+ fi
771
+
755
772
# Default libgloss CPU subdirectory.
756
773
libgloss_dir="$target_cpu"
757
774
You can’t perform that action at this time.
0 commit comments