summaryrefslogtreecommitdiff
path: root/graphics/jxrlib/patches/patch-Makefile
blob: f131d8b6d8f22aed3c1965e30db6a2e005f06905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-Makefile,v 1.1 2019/11/25 21:07:19 nros Exp $
* take in CFLAGS from the environment so that _BIG__ENDIAN_ can be added
--- Makefile.orig	2019-11-25 19:14:40.081612047 +0000
+++ Makefile
@@ -39,7 +39,7 @@ DIR_GLUE=jxrgluelib
 DIR_TEST=jxrtestlib
 DIR_EXEC=jxrencoderdecoder
 
-CFLAGS=-I. -Icommon/include -I$(DIR_SYS) -D__ANSI__ -DDISABLE_PERF_MEASUREMENT -w -O
+CFLAGS+=-I. -Icommon/include -I$(DIR_SYS) -D__ANSI__ -DDISABLE_PERF_MEASUREMENT -w -O
 ##
 ## Add following flag to CFLAGS above if target is a big endian machine
 ## -D_BIG__ENDIAN_