diff options
| author | Eric Christopher <echristo@gmail.com> | 2015-02-26 19:46:32 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2015-02-26 19:46:32 +0000 |
| commit | 83f8824a7567a87208d9118c50e9c8c1ccc3a721 (patch) | |
| tree | 6c6d3153aca392384b4e9e91c9bc1d4e76901a43 | |
| parent | 9fde2e013ee0892ef02f9278db4ff4de270b970a (diff) | |
| download | bcm5719-llvm-83f8824a7567a87208d9118c50e9c8c1ccc3a721.tar.gz bcm5719-llvm-83f8824a7567a87208d9118c50e9c8c1ccc3a721.zip | |
Support bitrig in autoconf build system.
Patch by Dave Huseby.
llvm-svn: 230669
| -rwxr-xr-x | llvm/autoconf/config.sub | 2 | ||||
| -rw-r--r-- | llvm/autoconf/configure.ac | 7 | ||||
| -rwxr-xr-x | llvm/configure | 7 |
3 files changed, 15 insertions, 1 deletions
diff --git a/llvm/autoconf/config.sub b/llvm/autoconf/config.sub index 01956e9a1e9..2583c901235 100755 --- a/llvm/autoconf/config.sub +++ b/llvm/autoconf/config.sub @@ -1354,7 +1354,7 @@ case $os in | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -bitrig*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index e699ee631e5..e0bc78310c9 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac @@ -267,6 +267,11 @@ AC_CACHE_CHECK([type of operating system we're going to host on], llvm_cv_no_link_all_option="-Wl,--no-whole-archive" llvm_cv_os_type="DragonFly" llvm_cv_platform_type="Unix" ;; + *-*-bitrig*) + llvm_cv_link_all_option="-Wl,--whole-archive" + llvm_cv_no_link_all_option="-Wl,--no-whole-archive" + llvm_cv_os_type="Bitrig" + llvm_cv_platform_type="Unix" ;; *-*-hpux*) llvm_cv_link_all_option="-Wl,--whole-archive" 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], llvm_cv_target_os_type="NetBSD" ;; *-*-dragonfly*) llvm_cv_target_os_type="DragonFly" ;; + *-*-bitrig*) + llvm_cv_target_os_type="Bitrig" ;; *-*-hpux*) llvm_cv_target_os_type="HP-UX" ;; *-*-interix*) diff --git a/llvm/configure b/llvm/configure index 2eed67ef67c..cac9bf6533a 100755 --- a/llvm/configure +++ b/llvm/configure @@ -3966,6 +3966,11 @@ else llvm_cv_no_link_all_option="-Wl,--no-whole-archive" llvm_cv_os_type="DragonFly" llvm_cv_platform_type="Unix" ;; + *-*-bitrig*) + llvm_cv_link_all_option="-Wl,--whole-archive" + llvm_cv_no_link_all_option="-Wl,--no-whole-archive" + llvm_cv_os_type="Bitrig" + llvm_cv_platform_type="Unix" ;; *-*-hpux*) llvm_cv_link_all_option="-Wl,--whole-archive" llvm_cv_no_link_all_option="-Wl,--no-whole-archive" @@ -4052,6 +4057,8 @@ else llvm_cv_target_os_type="NetBSD" ;; *-*-dragonfly*) llvm_cv_target_os_type="DragonFly" ;; + *-*-bitrig*) + llvm_cv_target_os_type="Bitrig" ;; *-*-hpux*) llvm_cv_target_os_type="HP-UX" ;; *-*-interix*) |

