summaryrefslogtreecommitdiff
path: root/libc/misc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/Makefile')
-rw-r--r--libc/misc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/misc/Makefile b/libc/misc/Makefile
index 5c16c5478..6a3275903 100644
--- a/libc/misc/Makefile
+++ b/libc/misc/Makefile
@@ -25,7 +25,13 @@ include $(TOPDIR)Rules.mak
LIBC=$(TOPDIR)libc.a
-DIRS = assert crypt ctype fnmatch glob internals lsearch mntent syslog regex shm time utmp
+DIRS = assert crypt ctype fnmatch glob internals lsearch mntent syslog shm time utmp
+
+# regex bombs out with an internal compiler error using m68k-pic-coff-gcc.
+ifneq ($(TARGET_ARCH),m68k)
+ DIRS += regex
+endif
+
all: libc.a