98b40e3
zip uses C89-only features, so it needs to be built in C89 mode.
98b40e3
98b40e3
diff --git a/unix/Makefile b/unix/Makefile
98b40e3
index 86cf54bf0f56cea9..244390893eab5fc6 100644
98b40e3
--- a/unix/Makefile
98b40e3
+++ b/unix/Makefile
98b40e3
@@ -202,7 +202,7 @@ generic: flags
98b40e3
 	eval $(MAKE) $(MAKEF) zips `cat flags`
98b40e3
 
98b40e3
 generic_gcc:
98b40e3
-	$(MAKE) $(MAKEF) generic CC=gcc CPP="gcc -E"
98b40e3
+	$(MAKE) $(MAKEF) generic CC="gcc -std=gnu89" CPP="gcc -E"
98b40e3
 
98b40e3
 # AT&T 6300 PLUS (don't know yet how to allocate 64K bytes):
98b40e3
 att6300nodir: