aboutsummaryrefslogtreecommitdiff
path: root/opengl/Makefile.config
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-16 14:47:23 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-16 14:47:23 +0000
commit4a87d7a76e84b9b5a98207861b28873e0f317c32 (patch)
tree564aebe30a8f2a263075b6c23116dedd3b4a2ce7 /opengl/Makefile.config
parent218d6ef12ad77e1604ae23b352a67bb2f79d6ee5 (diff)
checked in Tim's 64-bit fix (patch #2804290), 64-bit requires -fPIC
svn path=/trunk/externals/pdp/; revision=11786
Diffstat (limited to 'opengl/Makefile.config')
-rw-r--r--opengl/Makefile.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl/Makefile.config b/opengl/Makefile.config
index b1d7b6f..9b02c5a 100644
--- a/opengl/Makefile.config
+++ b/opengl/Makefile.config
@@ -18,6 +18,7 @@ UNAME := $(shell uname -s)
ifeq ($(UNAME),Linux)
TARGET=linux
LDFLAGS = -lGL -lglut
+ CFLAGS+= -fPIC
endif
ifeq ($(UNAME),Darwin)
TARGET = darwin