summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-15 15:30:54 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-15 15:31:14 -0500
commit5aed3a461b936573cff5cfc5cbab1cf28d5ef98e (patch)
treec5c2829aa4facf8ed6502e675f526317cb4f0e01 /media-libs/jbigkit/files
parentmedia-libs/varconf: Fix building with latest glibmm/libsigc++ (#568136), bump... (diff)
downloadgentoo-5aed3a461b936573cff5cfc5cbab1cf28d5ef98e.tar.gz
gentoo-5aed3a461b936573cff5cfc5cbab1cf28d5ef98e.tar.bz2
gentoo-5aed3a461b936573cff5cfc5cbab1cf28d5ef98e.zip
media-libs/jbigkit: fix CFLAGS/CPPFLAGS setup #518150
Diffstat (limited to 'media-libs/jbigkit/files')
-rw-r--r--media-libs/jbigkit/files/jbigkit-2.1-build.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/media-libs/jbigkit/files/jbigkit-2.1-build.patch b/media-libs/jbigkit/files/jbigkit-2.1-build.patch
index 4d0ebd381342..a7bc7ae761de 100644
--- a/media-libs/jbigkit/files/jbigkit-2.1-build.patch
+++ b/media-libs/jbigkit/files/jbigkit-2.1-build.patch
@@ -13,7 +13,7 @@ This patch has been mailed to upstream. No reply at this time. Status unknown.
# Options for the compiler: A high optimization level is suggested
-CFLAGS = -g -O -W -Wall -ansi -pedantic # --coverage
-+CFLAGS += -W -Wall -ansi -pedantic # --coverage
++override CFLAGS += -W -Wall -ansi -pedantic # --coverage
-all: libjbig.a libjbig85.a tstcodec tstcodec85
+ifeq ($(shell uname),Darwin)
@@ -81,7 +81,7 @@ This patch has been mailed to upstream. No reply at this time. Status unknown.
# Options for the compiler: A high optimization level is suggested
-CFLAGS = -O2 -W -Wno-unused-result
-+CFLAGS += -W
++override CFLAGS += -W
# CFLAGS = -O -g -W -Wall -Wno-unused-result -ansi -pedantic # -DDEBUG
export CC CFLAGS
@@ -106,8 +106,8 @@ This patch has been mailed to upstream. No reply at this time. Status unknown.
# Options for the compiler
-CFLAGS = -g -O -W -Wall -Wno-unused-result -ansi -pedantic # --coverage
-CPPFLAGS = -I../libjbig
-+CFLAGS += -W -Wall -Wno-unused-result -ansi -pedantic # --coverage
-+CPPFLAGS += -I../libjbig
++override CFLAGS += -W -Wall -Wno-unused-result -ansi -pedantic # --coverage
++override CPPFLAGS += -I../libjbig
.SUFFIXES: .1 .5 .txt $(SUFFIXES)
.PHONY: txt test test82 test85 clean