diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-03-22 00:22:24 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-03-22 00:22:24 +0000 |
commit | 35db3a3d047cd55b2104294fbe4d39f5b72a7e14 (patch) | |
tree | 5e66be5f9435a2447ed8e00d931b4c8a8d499d75 | |
parent | 4559e3f11b0c5ed68a0238317b3e6096993f8e5b (diff) | |
download | libsvgtiny-35db3a3d047cd55b2104294fbe4d39f5b72a7e14.tar.gz libsvgtiny-35db3a3d047cd55b2104294fbe4d39f5b72a7e14.tar.bz2 |
Update CFLAGS to avoid deprication warning for glibc 2.21 and later.
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,9 @@ +#!/bin/make +# +# Makefile for libsvgtiny +# +# Copyright 2009-1015 John-Mark Bell <jmb@netsurf-browser.org> + # Component settings COMPONENT := svgtiny COMPONENT_VERSION := 0.1.3 @@ -22,8 +28,9 @@ ifneq ($(BUILD),i586-pc-haiku) endif endif -CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ - -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) +CFLAGS := -D_BSD_SOURCE -D_DEFAULT_SOURCE \ + -I$(CURDIR)/include/ -I$(CURDIR)/src \ + $(WARNFLAGS) $(CFLAGS) ifneq ($(GCCVER),2) CFLAGS := $(CFLAGS) -std=c99 else |