summaryrefslogtreecommitdiff
path: root/x11-fm/gentoo/files/patch-src-Makefile
blob: 5d7b78dcff6c46bf23d67ad55e22bf9db9ec2344 (plain) (blame)
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
--- src/Makefile.orig	Sun Apr 29 11:43:21 2001
+++ src/Makefile	Sat Jan  1 02:59:03 2000
@@ -71,25 +71,24 @@
 	  window.o menus.o\
 	  ../widgets/odemilbutton.o ../widgets/odscrolledbox.o ../widgets/odlabel.o
 
-DEBUG	= -g -O2 #-Wno-unused
+DEBUG	= -g #-Wno-unused
 
 # Feel free to add any compiler-specific flags you need here.
 
-CC	= gcc
-
 # These flags should work even on files that contain code that deals with
 # 64-bit stuff. Sorry for the possibly counter-intuitive name. :)
-CFLAGS_64BIT = -Wall -Wmissing-prototypes $(DEBUG) `gtk-config --cflags`\
+CFLAGS_64BIT = $(DEBUG) `gtk-config --cflags`\
 		-I/usr/X11R6/include -I../widgets -DGENTOO_PACKAGE='"gentoo"'\
-		-DGENTOO_LOCALEDIR='"/home/emil/data/projects/gentoo/locale"'
+		-DGENTOO_LOCALEDIR='"/home/emil/data/projects/gentoo/locale"' \
+		-I.
 
 # Most files compile with the flags that are 64-bit compliant, plus some
 # more to ensure ANSI compatibility.
-CFLAGS	+= $(CFLAGS_64BIT) -ansi -pedantic
+CFLAGS	+= $(CFLAGS_64BIT)
 
 # Add names of any required libraries here (only included in final link).
 #LIBINTL	= -lintl
-LIBS	= -L/usr/lib -L/usr/X11R6/lib `gtk-config --libs` -rdynamic -ldl -lXi -lXext -lX11 -lm $(LIBINTL)
+LIBS	= -L/usr/lib -L/usr/X11R6/lib `gtk-config --libs` -rdynamic -lXi -lXext -lX11 -lm $(LIBINTL)
 
 # ----------------------------------------- Targets