summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-04-13 13:33:21 -0700
committerPixel <pixel@nobis-crew.org>2009-04-13 13:33:21 -0700
commit43426d324817c3f8edfdb0629b078dd156fae265 (patch)
tree6c317f36d35f0820561d38d9e40d6d21fae1fe6e /Makefile
parent1a7bb5c635f5c1a2b59b653e8151b04857f08925 (diff)
Supporting the gl-glue in 32 bits on a 64 bits compiler.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 58d500b..70c2646 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ LDFLAGS_GL = -L/usr/X11/lib -lGLU -lGL -X11 -dylib_file \
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
else
ARCH_FLAGS=-march=i686 -m32
+ASFLAGS=-march=i686 --32
LDFLAGS_MESA=-u gluNewTess -Wl,--whole-archive ../Mesa-7.4/lib/libGLU.a ../Mesa-7.4/lib/libOSMesa.a -Wl,--no-whole-archive
CPPFLAGS_READLINE=-DREADLINE_STATIC
LDFLAGS_READLINE=/usr/lib/libreadline.a /usr/lib/libncurses.a