summaryrefslogtreecommitdiff
blob: 3be76d5935b30259be7f484d1c332fda203e7c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
diff -Naur sexypsf.orig/Linux/Makefile sexypsf/Linux/Makefile
--- sexypsf.orig/Linux/Makefile	2004-09-01 22:18:44.000000000 -0700
+++ sexypsf/Linux/Makefile	2004-10-07 16:42:22.932199622 -0700
@@ -8,8 +8,7 @@
 RM = rm -f
 STRIP = strip
 
-OPTIMIZE = -O2 -fomit-frame-pointer -finline-functions -ffast-math
-FLAGS = -g  -D__LINUX__ -DPSS_STYLE=1 
+FLAGS = -g  -D__LINUX__ -DPSS_STYLE=1  -fPIC
 #-DTIMEO
 LIBS = -lz
 
@@ -20,7 +19,7 @@
 
 OBJS+= LnxMain.o
 
-CFLAGS = -Wall -Winline ${OPTIMIZE} -I. -I.. ${FLAGS}
+CFLAGS = -Wall -Winline -I. -I.. ${FLAGS}
 #CFLAGS+= $(shell pkg-config gtk+-2.0 --cflags)
 
 sexypsf:	${OBJS}
diff -Naur sexypsf.orig/xmms/Makefile sexypsf/xmms/Makefile
--- sexypsf.orig/xmms/Makefile	2004-09-01 13:43:13.000000000 -0700
+++ sexypsf/xmms/Makefile	2004-10-07 16:43:08.155808251 -0700
@@ -12,7 +12,6 @@
 RM = rm -f
 #LD = ld -shared
 LIBS = -lz -shared $(shell gtk-config --libs)
-OPTIMIZE = -O2 -finline-functions -ffast-math
-FLAGS = -DPSS_STYLE=1 -DSPSFVERSION="\"${VERSION}\""
+FLAGS = -DPSS_STYLE=1 -DSPSFVERSION="\"${VERSION}\"" -fPIC
 
 OBJS = ../PsxBios.o ../PsxCounters.o ../PsxDma.o \
@@ -22,10 +21,6 @@
 
 OBJS+= xmms.o
 
-ifeq (${CPU}, ix86)
-	OPTIMIZE += -fomit-frame-pointer -mcpu=i686 -fno-exceptions
-endif
-
 ifeq (${CPU}, ppc)
 	FLAGS+=-DMSB_FIRST
 endif	
@@ -34,7 +29,7 @@
 	FLAGS+=-DMSB_FIRST
 endif
 
-CFLAGS = -Wall ${OPTIMIZE} -I. -I.. -I/usr/include/g++ ${FLAGS}
+CFLAGS = -Wall -I. -I.. -I/usr/include/g++ ${FLAGS}
 CFLAGS+= $(shell gtk-config --cflags)
 
 #ifdef LD