2014-08-11 13:27:10 +02:00

20 lines
548 B
Plaintext

$NetBSD: patch-Makefile,v 1.1.2.1 2014/04/11 11:50:10 tron 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