midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/infounzip.local.patch

Lucio Andrés Illanes Albornoz 1daa6b
--- infounzip/Makefile.dist	2019-04-26 18:39:08.660000000 +0000
Lucio Andrés Illanes Albornoz 1daa6b
+++ infounzip/Makefile	2019-06-16 16:37:56.980000000 +0000
Lucio Andrés Illanes Albornoz 1daa6b
@@ -10,7 +10,7 @@
Lucio Andrés Illanes Albornoz 1daa6b
 INSTALL_PROGRAM = cp
Lucio Andrés Illanes Albornoz 1daa6b
 INSTALL_D = mkdir -p
Lucio Andrés Illanes Albornoz 1daa6b
 
Lucio Andrés Illanes Albornoz 1daa6b
-CFLAGS ?= -I. -DUNIX -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS
1be5ef
+override CFLAGS += --include=unistd.h --include=stdlib.h --include=stdio.h --include=sys/stat.h -I. -DUNIX -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -D_MBCS
Lucio Andrés Illanes Albornoz 1daa6b
 LFLAGS1 ?=
Lucio Andrés Illanes Albornoz 1daa6b
 LDFLAGS ?=
Lucio Andrés Illanes Albornoz 1daa6b
 
Lucio Andrés Illanes Albornoz 1daa6b
@@ -38,10 +38,10 @@
Lucio Andrés Illanes Albornoz 1daa6b
 $(OBJF): $(UNZIP_H)
Lucio Andrés Illanes Albornoz 1daa6b
 
Lucio Andrés Illanes Albornoz 1daa6b
 unzip: $(OBJU)
Lucio Andrés Illanes Albornoz 1daa6b
-	$(CC) -o unzip $(LFLAGS1) $(OBJU) $(LDFLAGS)
Lucio Andrés Illanes Albornoz 1daa6b
+	$(CC) -o unzip $(LFLAGS1) $(LDFLAGS) $(OBJU)
Lucio Andrés Illanes Albornoz 1daa6b
 
Lucio Andrés Illanes Albornoz 1daa6b
 funzip: $(OBJF)
Lucio Andrés Illanes Albornoz 1daa6b
-	$(CC) -o funzip $(LFLAGS1) $(OBJF) $(LDFLAGS)
Lucio Andrés Illanes Albornoz 1daa6b
+	$(CC) -o funzip $(LFLAGS1) $(LDFLAGS) $(OBJF)
Lucio Andrés Illanes Albornoz 1daa6b
 
Lucio Andrés Illanes Albornoz 1daa6b
 UNZIPS = unzip funzip
Lucio Andrés Illanes Albornoz 1daa6b