summaryrefslogtreecommitdiff
path: root/graphics/jbigkit/patches/patch-Makefile
blob: 5b8a1d445a273fc335fba7eac9e319b317232629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-Makefile,v 1.2 2014/04/10 12:04:16 obache Exp $

* prevent to overwrite our CC/CFLAGS settings

--- Makefile.orig	2014-03-27 18:47:15.000000000 +0000
+++ Makefile
@@ -1,10 +1,10 @@
 # Unix makefile for JBIG-KIT
 
 # Select an ANSI/ISO C compiler here, GNU gcc is recommended
-CC = gcc
+CC ?= gcc
 
 # Options for the compiler: A high optimization level is suggested
-CFLAGS = -O2 -W -Wno-unused-result
+CFLAGS ?= -O2 -W -Wno-unused-result
 # CFLAGS = -O -g -W -Wall -Wno-unused-result -ansi -pedantic # -DDEBUG
 
 export CC CFLAGS