summaryrefslogtreecommitdiff
path: root/graphics/jbigkit/patches/patch-Makefile
blob: 95d054ceb74c0e1c4b813bb9a9b2820b0c1b3fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-Makefile,v 1.1 2014/03/01 06:58:41 obache Exp $

* prevent to overwrite our CC/CFLAGS settings

--- Makefile.orig	2008-08-30 20:40:22.000000000 +0000
+++ Makefile
@@ -3,8 +3,8 @@
 
 # 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
-CCFLAGS = -O2 -W
+CCFLAGS = -W
 #CCFLAGS = -O -g -W -Wall -ansi -pedantic #-DDEBUG  # developer only