1 |
commit: 5aed3a461b936573cff5cfc5cbab1cf28d5ef98e |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 15 20:30:54 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 15 20:31:14 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aed3a46 |
7 |
|
8 |
media-libs/jbigkit: fix CFLAGS/CPPFLAGS setup #518150 |
9 |
|
10 |
media-libs/jbigkit/files/jbigkit-2.1-build.patch | 8 ++++---- |
11 |
1 file changed, 4 insertions(+), 4 deletions(-) |
12 |
|
13 |
diff --git a/media-libs/jbigkit/files/jbigkit-2.1-build.patch b/media-libs/jbigkit/files/jbigkit-2.1-build.patch |
14 |
index 4d0ebd3..a7bc7ae 100644 |
15 |
--- a/media-libs/jbigkit/files/jbigkit-2.1-build.patch |
16 |
+++ b/media-libs/jbigkit/files/jbigkit-2.1-build.patch |
17 |
@@ -13,7 +13,7 @@ This patch has been mailed to upstream. No reply at this time. Status unknown. |
18 |
|
19 |
# Options for the compiler: A high optimization level is suggested |
20 |
-CFLAGS = -g -O -W -Wall -ansi -pedantic # --coverage |
21 |
-+CFLAGS += -W -Wall -ansi -pedantic # --coverage |
22 |
++override CFLAGS += -W -Wall -ansi -pedantic # --coverage |
23 |
|
24 |
-all: libjbig.a libjbig85.a tstcodec tstcodec85 |
25 |
+ifeq ($(shell uname),Darwin) |
26 |
@@ -81,7 +81,7 @@ This patch has been mailed to upstream. No reply at this time. Status unknown. |
27 |
|
28 |
# Options for the compiler: A high optimization level is suggested |
29 |
-CFLAGS = -O2 -W -Wno-unused-result |
30 |
-+CFLAGS += -W |
31 |
++override CFLAGS += -W |
32 |
# CFLAGS = -O -g -W -Wall -Wno-unused-result -ansi -pedantic # -DDEBUG |
33 |
|
34 |
export CC CFLAGS |
35 |
@@ -106,8 +106,8 @@ This patch has been mailed to upstream. No reply at this time. Status unknown. |
36 |
# Options for the compiler |
37 |
-CFLAGS = -g -O -W -Wall -Wno-unused-result -ansi -pedantic # --coverage |
38 |
-CPPFLAGS = -I../libjbig |
39 |
-+CFLAGS += -W -Wall -Wno-unused-result -ansi -pedantic # --coverage |
40 |
-+CPPFLAGS += -I../libjbig |
41 |
++override CFLAGS += -W -Wall -Wno-unused-result -ansi -pedantic # --coverage |
42 |
++override CPPFLAGS += -I../libjbig |
43 |
|
44 |
.SUFFIXES: .1 .5 .txt $(SUFFIXES) |
45 |
.PHONY: txt test test82 test85 clean |