diff --git libcilkrts/Makefile.am libcilkrts/Makefile.am
index 70538a2..e77dfa6 100644
--- libcilkrts/Makefile.am
+++ libcilkrts/Makefile.am
@@ -95,9 +95,9 @@ libcilkrts_la_LDFLAGS = -version-info 5:0:0
 libcilkrts_la_LDFLAGS += @lt_cv_dlopen_libs@
 libcilkrts_la_LDFLAGS += $(AM_LDFLAGS)
 
-# If we're building on Linux, use the Linux version script
-if LINUX_LINKER_SCRIPT
-    libcilkrts_la_LDFLAGS += -Wl,--version-script,$(srcdir)/runtime/linux-symbols.ver
+# If we're building with a GNU toolchain, use the GNU version script.
+if GNU_LINKER_SCRIPT
+  libcilkrts_la_LDFLAGS += -Wl,--version-script,$(srcdir)/runtime/gnu-symbols.ver
 endif
 
 # If we're building on MacOS, use the Mac versioning
diff --git libcilkrts/Makefile.in libcilkrts/Makefile.in
index e1a54b5..dd482b4 100644
--- libcilkrts/Makefile.in
+++ libcilkrts/Makefile.in
@@ -115,8 +115,8 @@ DIST_COMMON = $(srcdir)/include/internal/rev.mk README ChangeLog \
 	$(srcdir)/../mkinstalldirs $(srcdir)/libcilkrts.spec.in \
 	$(srcdir)/../depcomp
 
-# If we're building on Linux, use the Linux version script
-@LINUX_LINKER_SCRIPT_TRUE@am__append_1 = -Wl,--version-script,$(srcdir)/runtime/linux-symbols.ver
+# If we're building with a GNU toolchain, use the GNU version script.
+@GNU_LINKER_SCRIPT_TRUE@am__append_1 = -Wl,--version-script,$(srcdir)/runtime/gnu-symbols.ver
 
 # If we're building on MacOS, use the Mac versioning
 @MAC_LINKER_SCRIPT_TRUE@am__append_2 = -Wl,-exported_symbols_list,$(srcdir)/runtime/mac-symbols.txt
diff --git libcilkrts/configure libcilkrts/configure
index be96533..b75533c 100644
--- libcilkrts/configure
+++ libcilkrts/configure
@@ -629,8 +629,8 @@ SED
 LIBTOOL
 MAC_LINKER_SCRIPT_FALSE
 MAC_LINKER_SCRIPT_TRUE
-LINUX_LINKER_SCRIPT_FALSE
-LINUX_LINKER_SCRIPT_TRUE
+GNU_LINKER_SCRIPT_FALSE
+GNU_LINKER_SCRIPT_TRUE
 config_dir
 ALLOCA
 multi_basedir
@@ -5647,19 +5647,21 @@ case "${target}" in
 esac
 
 
-# We have linker scripts for appropriate operating systems
-linux_linker_script=no
+# We have linker scripts for appropriate toolchains.
+
+gnu_linker_script=no
 case "${host}" in
-    *-*-linux*)
-        linux_linker_script=yes
+    *-*-gnu* | *-*-linux*)
+	# Assume a GNU toolchain.
+        gnu_linker_script=yes
         ;;
 esac
- if test "$linux_linker_script" = "yes"; then
-  LINUX_LINKER_SCRIPT_TRUE=
-  LINUX_LINKER_SCRIPT_FALSE='#'
+ if test "$gnu_linker_script" = "yes"; then
+  GNU_LINKER_SCRIPT_TRUE=
+  GNU_LINKER_SCRIPT_FALSE='#'
 else
-  LINUX_LINKER_SCRIPT_TRUE='#'
-  LINUX_LINKER_SCRIPT_FALSE=
+  GNU_LINKER_SCRIPT_TRUE='#'
+  GNU_LINKER_SCRIPT_FALSE=
 fi
 
 
@@ -11755,7 +11757,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11758 "configure"
+#line 11760 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11861,7 +11863,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11864 "configure"
+#line 11866 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -15379,8 +15381,8 @@ if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
-if test -z "${LINUX_LINKER_SCRIPT_TRUE}" && test -z "${LINUX_LINKER_SCRIPT_FALSE}"; then
-  as_fn_error "conditional \"LINUX_LINKER_SCRIPT\" was never defined.
+if test -z "${GNU_LINKER_SCRIPT_TRUE}" && test -z "${GNU_LINKER_SCRIPT_FALSE}"; then
+  as_fn_error "conditional \"GNU_LINKER_SCRIPT\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${MAC_LINKER_SCRIPT_TRUE}" && test -z "${MAC_LINKER_SCRIPT_FALSE}"; then
diff --git libcilkrts/configure.ac libcilkrts/configure.ac
index afd09b8..9f47993 100644
--- libcilkrts/configure.ac
+++ libcilkrts/configure.ac
@@ -143,14 +143,16 @@ case "${target}" in
 esac
 AC_SUBST(config_dir)
 
-# We have linker scripts for appropriate operating systems
-linux_linker_script=no
+# We have linker scripts for appropriate toolchains.
+
+gnu_linker_script=no
 case "${host}" in
-    *-*-linux*)
-        linux_linker_script=yes
+    *-*-gnu* | *-*-linux*)
+	# Assume a GNU toolchain.
+        gnu_linker_script=yes
         ;;
 esac
-AM_CONDITIONAL(LINUX_LINKER_SCRIPT, test "$linux_linker_script" = "yes")
+AM_CONDITIONAL(GNU_LINKER_SCRIPT, test "$gnu_linker_script" = "yes")
 
 mac_linker_script=no
 case "${host}" in
diff --git libcilkrts/runtime/linux-symbols.ver libcilkrts/runtime/gnu-symbols.ver
similarity index 100%
rename from libcilkrts/runtime/linux-symbols.ver
rename to libcilkrts/runtime/gnu-symbols.ver
