Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 253412
Collapse All | Expand All

(-)a/Makefile.rules (-5 / +4 lines)
Lines 24-39 Link Here
24
24
25
ifdef DEBUG
25
ifdef DEBUG
26
CFLAGS    ?= -g -Wall -DDEBUG
26
CFLAGS    ?= -g -Wall -DDEBUG
27
LDFLAGS   = -g
27
AUTOFS_LDFLAGS   = -g
28
STRIP     = :
28
STRIP     = :
29
else
29
else
30
ifdef DONTSTRIP
30
ifdef DONTSTRIP
31
CFLAGS    ?= -O2 -g
31
CFLAGS    ?= -O2 -g
32
LDFLAGS   = -g
32
AUTOFS_LDFLAGS   = -g
33
STRIP     = :
33
STRIP     = :
34
else
34
else
35
CFLAGS    ?= -O2 -Wall
35
CFLAGS    ?= -O2 -Wall
36
LDFLAGS   = -s
36
AUTOFS_LDFLAGS   = -s
37
STRIP     = strip --strip-debug
37
STRIP     = strip --strip-debug
38
endif
38
endif
39
endif
39
endif
Lines 45-54 Link Here
45
SOLDFLAGS = -shared
45
SOLDFLAGS = -shared
46
46
47
CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64
47
CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64
48
LDFLAGS += -lpthread
49
48
50
ifdef DMALLOCLIB
49
ifdef DMALLOCLIB
51
LDFLAGS += $(DMALLOCLIB)
50
AUTOFS_LDFLAGS += $(DMALLOCLIB)
52
endif
51
endif
53
52
54
# Standard rules
53
# Standard rules
(-)a/daemon/Makefile (-1 / +1 lines)
Lines 25-31 Link Here
25
all: automount
25
all: automount
26
26
27
automount: $(OBJS) $(AUTOFS_LIB)
27
automount: $(OBJS) $(AUTOFS_LIB)
28
	$(CC) $(LDFLAGS) $(DAEMON_LDFLAGS) -o automount $(OBJS) $(AUTOFS_LIB) $(LIBS)
28
	$(CC) $(AUTOFS_LDFLAGS) $(DAEMON_LDFLAGS) $(LDFLAGS) -o automount $(OBJS) $(AUTOFS_LIB) $(LIBS)
29
	$(STRIP) automount
29
	$(STRIP) automount
30
30
31
clean:
31
clean:

Return to bug 253412