use -fPIC
authorFelix Fietkau <nbd@openwrt.org>
Mon, 21 Jan 2008 00:00:23 +0000 (01:00 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 21 Jan 2008 00:00:23 +0000 (01:00 +0100)
Makefile

index ec382edf0c78b820032dcb54871c8ab19202d91c..1e0fce371d132da92cec2d35ef4d34bf2327c1a8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 COPTS=-g -O2
-CFLAGS=$(COPTS) -Wall -pedantic -std=gnu99 -Wno-unused -Werror
+CFLAGS=$(COPTS) -fPIC -Wall -pedantic -std=gnu99 -Wno-unused -Werror
 
 AR=ar
 CC=gcc