From 600b8665a54880ec2ce5ebae0be27678e90d25d9 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Thu, 1 Mar 2012 18:59:22 +0100 Subject: [PATCH] patch #7731 contrib: Add -fPIC to CFLAGS in unix/proj/lib (by Erik Ekman) --- ports/unix/proj/lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/unix/proj/lib/Makefile b/ports/unix/proj/lib/Makefile index ce00d20..04d884e 100644 --- a/ports/unix/proj/lib/Makefile +++ b/ports/unix/proj/lib/Makefile @@ -39,7 +39,7 @@ LWIPDIR=$(CONTRIBDIR)/../lwip/src CCDEP=gcc CC=gcc -CFLAGS=-g -Wall -DIPv4 -DLWIP_DEBUG +CFLAGS=-g -Wall -DIPv4 -DLWIP_DEBUG -fPIC CFLAGS:=$(CFLAGS) \ -I$(LWIPDIR)/include -I$(LWIPARCH)/include -I$(LWIPDIR)/include/ipv4 \