diff options
-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 |