aboutsummaryrefslogtreecommitdiff
path: root/projects/sample/configure
diff options
context:
space:
mode:
Diffstat (limited to 'projects/sample/configure')
-rwxr-xr-xprojects/sample/configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/projects/sample/configure b/projects/sample/configure
index 94e931fbdc..6c622e573d 100755
--- a/projects/sample/configure
+++ b/projects/sample/configure
@@ -3690,6 +3690,11 @@ else
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
llvm_cv_os_type="GNU"
llvm_cv_platform_type="Unix" ;;
+ *-*-nacl*)
+ llvm_cv_link_all_option="-Wl,--whole-archive"
+ llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
+ llvm_cv_os_type="NativeClient"
+ llvm_cv_platform_type="Unix" ;;
*-*-solaris*)
llvm_cv_link_all_option="-Wl,-z,allextract"
llvm_cv_no_link_all_option="-Wl,-z,defaultextract"