chiark / gitweb /
[PATCH] klibc: update v0.205
[elogind.git] / klibc / klibc / MCONFIG
index 253a9461b7289edbe74e43f430308014ad3afec3..24af09d8e00478bf54afd564c117f562461a49b8 100644 (file)
@@ -8,6 +8,13 @@ include ../MCONFIG
 include ../MRULES
 
 WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline
-CFLAGS  = -Wp,-MD,$(dir $*).$(notdir $*).d $(OPTFLAGS) $(REQFLAGS) $(WARNFLAGS)
+
+ifeq ($(ERRLIST),1)
+REQFLAGS += -DWITH_ERRLIST
+endif
+
+CFLAGS  = -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d $(OPTFLAGS) $(REQFLAGS) $(WARNFLAGS)
+INCLUDE += -I./zlib
+CFLAGS  += -DDYNAMIC_CRC_TABLE
 
 SOFLAGS = -fPIC