diff options
Diffstat (limited to 'projects/sample/configure')
-rwxr-xr-x | projects/sample/configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/projects/sample/configure b/projects/sample/configure index 28fba4107e..7c5e2ee37d 100755 --- a/projects/sample/configure +++ b/projects/sample/configure @@ -3681,6 +3681,11 @@ else llvm_cv_no_link_all_option="-Wl,--no-whole-archive" llvm_cv_os_type="Linux" llvm_cv_platform_type="Unix" ;; + *-*-gnu*) + llvm_cv_link_all_option="-Wl,--whole-archive" + llvm_cv_no_link_all_option="-Wl,--no-whole-archive" + llvm_cv_os_type="GNU" + llvm_cv_platform_type="Unix" ;; *-*-solaris*) llvm_cv_link_all_option="-Wl,-z,allextract" llvm_cv_no_link_all_option="-Wl,-z,defaultextract" @@ -3756,6 +3761,8 @@ else llvm_cv_target_os_type="Interix" ;; *-*-linux*) llvm_cv_target_os_type="Linux" ;; + *-*-gnu*) + llvm_cv_target_os_type="GNU" ;; *-*-solaris*) llvm_cv_target_os_type="SunOS" ;; *-*-auroraux*) |