diff --git a/com.oracle.truffle.r.native/gnur/Makefile.gnur b/com.oracle.truffle.r.native/gnur/Makefile.gnur
index 4fc3a0637aacde167426df90e62bc8166051a310..abc5c59b1227e8a21671fa957b3681d4588654a0 100644
--- a/com.oracle.truffle.r.native/gnur/Makefile.gnur
+++ b/com.oracle.truffle.r.native/gnur/Makefile.gnur
@@ -68,7 +68,10 @@ all: Makefile $(GNUR_HOME) iconv config build
 
 $(GNUR_HOME): 
 	tar xf $(TOPDIR)/../libdownloads/R-$(R_VERSION).tar.gz
+# Solaris doesn't need this and ed can't handle the size of the configure file!
+ifneq ($(OSNAME), SunOS)
 	ed $(GNUR_HOME)/configure < edconfigure # to fix the zlib version check (fixed in GNUR in the meantime)
+endif
 
 
 # After this platform check, GNUR_CONFIG_FLAGS must be set