summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-20 22:29:34 +0000
committerMike Frysinger <vapier@gentoo.org>2010-09-20 22:29:34 +0000
commit4dfb5fd52f6215dc8b3f67cf4da1c9e802780b37 (patch)
tree79eee248d5dfd75fa0a94504c0604cac3f1754db /app-arch/bzip2
parentMarked ppc/ppc64 stable. (diff)
downloadgentoo-2-4dfb5fd52f6215dc8b3f67cf4da1c9e802780b37.tar.gz
gentoo-2-4dfb5fd52f6215dc8b3f67cf4da1c9e802780b37.tar.bz2
gentoo-2-4dfb5fd52f6215dc8b3f67cf4da1c9e802780b37.zip
respect CPPFLAGS too
Diffstat (limited to 'app-arch/bzip2')
-rw-r--r--app-arch/bzip2/files/bzip2-1.0.4-makefile-CFLAGS.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-arch/bzip2/files/bzip2-1.0.4-makefile-CFLAGS.patch b/app-arch/bzip2/files/bzip2-1.0.4-makefile-CFLAGS.patch
index cc10a1e8ada0..5a95ed68b2d0 100644
--- a/app-arch/bzip2/files/bzip2-1.0.4-makefile-CFLAGS.patch
+++ b/app-arch/bzip2/files/bzip2-1.0.4-makefile-CFLAGS.patch
@@ -8,7 +8,7 @@
BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-Wall -Winline -O2 -g $(BIGFILES)
-+CFLAGS+=-Wall -Winline $(BIGFILES)
++CFLAGS+=-Wall -Winline $(BIGFILES) $(CPPFLAGS)
# Where you want it installed when you do 'make install'
PREFIX=/usr/local
@@ -19,7 +19,7 @@
CC=gcc
BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-fpic -fPIC -Wall -Winline -O2 -g $(BIGFILES)
-+CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES)
++CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES) $(CPPFLAGS)
OBJS= blocksort.o \
huffman.o \