907c665
diff -up bolzplatz2006/libsrc/lwjgl/src/native/linux/Makefile~ bolzplatz2006/libsrc/lwjgl/src/native/linux/Makefile
907c665
--- bolzplatz2006/libsrc/lwjgl/src/native/linux/Makefile~	2007-09-06 13:51:35.000000000 +0200
907c665
+++ bolzplatz2006/libsrc/lwjgl/src/native/linux/Makefile	2007-09-06 13:51:35.000000000 +0200
907c665
@@ -2,10 +2,10 @@
907c665
 
907c665
 CC=gcc
907c665
 LINKER=gcc
907c665
-STRIP=strip
907c665
+STRIP=
907c665
 CFLAGS_LINK=-shared -Wall
907c665
-LIBS=-L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lXext -lpthread -L$(JAVA_HOME)/jre/lib/i386 -ljawt -lvorbisfile -Wl,-static,-lXxf86vm,-lXcursor,-lXrender,-lXrandr,-call_shared
907c665
+LIBS=-lX11 -lXext -lpthread -L$(JAVA_HOME)/jre/lib/$(JAVA_ARCH) -ljawt -lvorbisfile -lXxf86vm -lXcursor -lXrender -lXrandr
907c665
-CFLAGS_O=-fPIC -O2 -D_X11 -Wall -pthread -c -I../common -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
907c665
+CFLAGS_O=-fPIC $(RPM_OPT_FLAGS) -D_X11 -pthread -c -I../common -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
907c665
 SRC=$(wildcard *.c) $(wildcard ../common/*.c) $(wildcard ../common/arb/*.c) $(wildcard ../common/ati/*.c) $(wildcard ../common/ext/*.c) $(wildcard ../common/nv/*.c) $(wildcard ../common/ov/*.c)
907c665
 OBJECTS=$(subst .c,.o,$(SRC))
907c665
 LIBRARY=liblwjgl.so