Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 298988e

Browse files
committed
Support bitrig in autoconf build system.
Patch by Dave Huseby. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230669 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 783f7f9 commit 298988e

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

autoconf/config.sub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ case $os in
13541354
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
13551355
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
13561356
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1357-
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1357+
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -bitrig*)
13581358
# Remember, each alternative MUST END IN *, to match a version number.
13591359
;;
13601360
-qnx*)

autoconf/configure.ac

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ AC_CACHE_CHECK([type of operating system we're going to host on],
267267
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
268268
llvm_cv_os_type="DragonFly"
269269
llvm_cv_platform_type="Unix" ;;
270+
*-*-bitrig*)
271+
llvm_cv_link_all_option="-Wl,--whole-archive"
272+
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
273+
llvm_cv_os_type="Bitrig"
274+
llvm_cv_platform_type="Unix" ;;
270275
*-*-hpux*)
271276
llvm_cv_link_all_option="-Wl,--whole-archive"
272277
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
@@ -347,6 +352,8 @@ AC_CACHE_CHECK([type of operating system we're going to target],
347352
llvm_cv_target_os_type="NetBSD" ;;
348353
*-*-dragonfly*)
349354
llvm_cv_target_os_type="DragonFly" ;;
355+
*-*-bitrig*)
356+
llvm_cv_target_os_type="Bitrig" ;;
350357
*-*-hpux*)
351358
llvm_cv_target_os_type="HP-UX" ;;
352359
*-*-interix*)

configure

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3966,6 +3966,11 @@ else
39663966
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
39673967
llvm_cv_os_type="DragonFly"
39683968
llvm_cv_platform_type="Unix" ;;
3969+
*-*-bitrig*)
3970+
llvm_cv_link_all_option="-Wl,--whole-archive"
3971+
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
3972+
llvm_cv_os_type="Bitrig"
3973+
llvm_cv_platform_type="Unix" ;;
39693974
*-*-hpux*)
39703975
llvm_cv_link_all_option="-Wl,--whole-archive"
39713976
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
@@ -4052,6 +4057,8 @@ else
40524057
llvm_cv_target_os_type="NetBSD" ;;
40534058
*-*-dragonfly*)
40544059
llvm_cv_target_os_type="DragonFly" ;;
4060+
*-*-bitrig*)
4061+
llvm_cv_target_os_type="Bitrig" ;;
40554062
*-*-hpux*)
40564063
llvm_cv_target_os_type="HP-UX" ;;
40574064
*-*-interix*)

0 commit comments

Comments
 (0)