diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-03-22 10:48:29 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-03-22 10:48:29 +0000 |
commit | fb7d170c99a9083eb9407dec79c9f10e9586173e (patch) | |
tree | a2d2080f0f45f9da8e3183788bea8feb1b219581 | |
parent | ae55e15a595e2b86e81e974fd276f7d585e012af (diff) | |
download | libutf8proc-fb7d170c99a9083eb9407dec79c9f10e9586173e.tar.gz libutf8proc-fb7d170c99a9083eb9407dec79c9f10e9586173e.tar.bz2 |
Improve makefile toolchain flag passing
-rw-r--r-- | Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -1,3 +1,9 @@ +#!/bin/make +# +# Makefile for libutf8proc +# +# Copyright 2009-1015 John-Mark Bell <jmb@netsurf-browser.org> + # Component settings COMPONENT := utf8proc COMPONENT_VERSION := 1.1.6 @@ -16,13 +22,9 @@ TESTRUNNER = $(BUILDDIR)/test_testrunner$(EXEEXT) WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -# Debug builds compile with error warnings -# BeOS/Haiku standard library headers issue warnings -#ifneq ($(BUILD),i586-pc-haiku) -# WARNFLAGS := $(WARNFLAGS) -Werror -#endif -CFLAGS := -I$(CURDIR)/include/libutf8proc/ \ - -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) + +CFLAGS := -I$(CURDIR)/include/libutf8proc/ -I$(CURDIR)/src \ + $(WARNFLAGS) $(CFLAGS) ifneq ($(GCCVER),2) CFLAGS := $(CFLAGS) -std=c99 else |