]> git.ipfire.org Git - pakfire.git/commitdiff
Compile everything with -fPIC when no CFLAGS are specified.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Dec 2011 18:59:02 +0000 (19:59 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Dec 2011 18:59:02 +0000 (19:59 +0100)
Makeconfig

index 1a486af9ad78f3cf8e4a91f92cb9a91d35b58b72..2c2708f09a2b62161cd77697b29d893340e1cf98 100644 (file)
@@ -12,7 +12,7 @@ PREFIX ?= /usr
 DEBIAN = $(shell test -e /etc/debian_version && echo 1 || echo 0)
 
 CC = gcc
-CFLAGS ?= -O2 -pipe
+CFLAGS ?= -O2 -fPIC -pipe
 MACHINE = $(shell uname -m)
 
 ifeq "$(MACHINE)" "x86_64"