Changeset 665
- Timestamp:
- 04/06/06 12:04:12 (7 years ago)
- Location:
- trunk/pdns/pdns
- Files:
-
- 2 modified
-
Makefile-recursor (modified) (3 diffs)
-
README-recursor (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/Makefile-recursor
r641 r665 1 1 SBINDIR=/usr/sbin/ 2 2 3 # for socket location, see config.h3 # for control socket location, see config.h 4 4 5 5 OPTFLAGS?=-O3 … … 7 7 CFLAGS:=$(CFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS) 8 8 9 LDFLAGS+= $(PROFILEFLAGS) 9 STATICFLAGS=-lstdc++ 10 11 ifeq ($(STATIC),semi) 12 STATICFLAGS=-Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic -static-libgcc -lm -lc 13 endif 14 ifeq ($(STATIC),full) 15 STATICFLAGS=-lstdc++ -lm -static 16 endif 17 18 LDFLAGS+= $(PROFILEFLAGS) $(STATICFLAGS) 19 10 20 all: pdns_recursor rec_control 11 21 … … 30 40 31 41 pdns_recursor: $(PDNS_RECURSOR_OBJECTS) 32 g ++$(PDNS_RECURSOR_OBJECTS) $(LDFLAGS) -o $@42 gcc $(PDNS_RECURSOR_OBJECTS) $(LDFLAGS) -o $@ 33 43 34 44 rec_control: $(REC_CONTROL_OBJECTS) 35 g ++$(REC_CONTROL_OBJECTS) $(LDFLAGS) -o $@45 gcc $(REC_CONTROL_OBJECTS) $(LDFLAGS) -o $@ 36 46 37 47 -
trunk/pdns/pdns/README-recursor
r645 r665 43 43 Do run with g++ 4.1 if you can, it is the best. 44 44 45 RUNNING ON A DIFFERENT MACHINE 46 ------------------------------ 47 To prevent hassles with g++ 4.1 dependencies, you can build like this: 48 $ STATIC=semi make all 49 or even 50 $ STATIC=full make all 51 45 52 PROBLEMS 46 53 --------