midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch

Lucio Andrés Illanes Albornoz d420de
--- ./Makefile
Lucio Andrés Illanes Albornoz d420de
+++ ./Makefile
Lucio Andrés Illanes Albornoz d420de
@@ -18,10 +18,9 @@
Lucio Andrés Illanes Albornoz d420de
 CC=gcc
Lucio Andrés Illanes Albornoz d420de
 AR=ar
Lucio Andrés Illanes Albornoz d420de
 RANLIB=ranlib
Lucio Andrés Illanes Albornoz d420de
-LDFLAGS=
Lucio Andrés Illanes Albornoz d420de
 
Lucio Andrés Illanes Albornoz d420de
 BIGFILES=-D_FILE_OFFSET_BITS=64
Lucio Andrés Illanes Albornoz d420de
-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
Lucio Andrés Illanes Albornoz d420de
+CFLAGS+=-Wall -Winline $(BIGFILES) $(CPPFLAGS)
Lucio Andrés Illanes Albornoz d420de
 
Lucio Andrés Illanes Albornoz d420de
 # Where you want it installed when you do 'make install'
Lucio Andrés Illanes Albornoz d420de
 PREFIX=/usr/local
Lucio Andrés Illanes Albornoz d420de
--- ./Makefile-libbz2_so
Lucio Andrés Illanes Albornoz d420de
+++ ./Makefile-libbz2_so
Lucio Andrés Illanes Albornoz d420de
@@ -24,7 +24,7 @@
Lucio Andrés Illanes Albornoz d420de
 SHELL=/bin/sh
Lucio Andrés Illanes Albornoz d420de
 CC=gcc
Lucio Andrés Illanes Albornoz d420de
 BIGFILES=-D_FILE_OFFSET_BITS=64
Lucio Andrés Illanes Albornoz d420de
-CFLAGS=-fpic -fPIC -Wall -Winline -O2 -g $(BIGFILES)
Lucio Andrés Illanes Albornoz d420de
+CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES) $(CPPFLAGS)
Lucio Andrés Illanes Albornoz d420de
 
Lucio Andrés Illanes Albornoz d420de
 OBJS= blocksort.o  \
Lucio Andrés Illanes Albornoz d420de
       huffman.o    \