diff options
author | Tor Andersson <tor@ghostscript.com> | 2011-03-09 11:26:39 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2011-03-09 11:26:39 +0000 |
commit | 778c4035ac0a99fc83a70ed7057944935e683c49 (patch) | |
tree | 632a453337325b268f31e7b481f8d63c95f36d97 | |
parent | f000f27ff861f22efe2d5a021ea9611b1d5d16c2 (diff) | |
download | mupdf-778c4035ac0a99fc83a70ed7057944935e683c49.tar.xz |
Use CFLAGS from the environment if set.
-rw-r--r-- | Makerules | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -3,9 +3,11 @@ OS ?= $(shell uname) OS := $(OS:MINGW%=MINGW) -CC ?= cc -CFLAGS := -Ifitz -Imupdf -Wall -LDFLAGS := +CC ?= +CFLAGS ?= +LDFLAGS ?= + +CFLAGS += -Ifitz -Imupdf -Wall ifeq "$(build)" "debug" CFLAGS += -pipe -g |