diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-13 23:23:56 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-13 23:23:56 +0000 |
commit | 559394b46e06023a5ebd6505aa1922f1dc890a10 (patch) | |
tree | fa8f812b97b2a5e6dc31efd1999f1250b3d8be64 /Makefile | |
parent | df3a5a0cbc20de6358ab382b17afac1941cc8096 (diff) | |
download | ttf2f-559394b46e06023a5ebd6505aa1922f1dc890a10.tar.gz ttf2f-559394b46e06023a5ebd6505aa1922f1dc890a10.tar.bz2 |
Static binaries. We need _POSIX_C_SOURCE for sensible PATH_MAX, too.
svn path=/trunk/tools/ttf2f/; revision=7509
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14,8 +14,8 @@ include build/makefiles/Makefile.tools WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -Werror #-pedantic -CFLAGS := $(CFLAGS) -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \ - -I$(CURDIR)/src $(WARNFLAGS) -Dasm="__asm" +CFLAGS := $(CFLAGS) -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE \ + -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) -Dasm="__asm" # Freetype2 ifneq ($(findstring clean,$(MAKECMDGOALS)),clean) @@ -31,8 +31,8 @@ endif # OSLib (RISC OS target only) ifneq ($(findstring clean,$(MAKECMDGOALS)),clean) ifeq ($(TARGET),riscos) - CFLAGS := $(CFLAGS) -I$(PREFIX)/include - LDFLAGS := $(LDFLAGS) -lOSLib32 -lOSLibSupport32 + CFLAGS := $(CFLAGS) -I$(PREFIX)/include -static + LDFLAGS := $(LDFLAGS) -lOSLib32 -lOSLibSupport32 -static endif endif |