Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit db13a81

Browse files
committed
Revert ill-considered restriction of dtrace support to Solaris only.
1 parent 47ef623 commit db13a81

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/backend/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
66
# Portions Copyright (c) 1994, Regents of the University of California
77
#
8-
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.134 2009/08/28 20:26:18 petere Exp $
8+
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.135 2009/09/04 23:11:05 tgl Exp $
99
#
1010
#-------------------------------------------------------------------------
1111

@@ -20,11 +20,9 @@ SUBDIRS = access bootstrap catalog parser commands executor foreign lib libpq \
2020

2121
include $(srcdir)/common.mk
2222

23-
ifeq ($(PORTNAME), solaris)
2423
ifeq ($(enable_dtrace), yes)
2524
LOCALOBJS += utils/probes.o
2625
endif
27-
endif
2826

2927
OBJS = $(SUBDIROBJS) $(LOCALOBJS) $(top_builddir)/src/port/libpgport_srv.a
3028

@@ -145,10 +143,8 @@ $(top_builddir)/src/include/utils/probes.h: utils/probes.h
145143
$(LN_S) ../../../$(subdir)/utils/probes.h .
146144

147145

148-
ifeq ($(PORTNAME), solaris)
149146
utils/probes.o: utils/probes.d $(SUBDIROBJS)
150147
$(DTRACE) $(DTRACEFLAGS) -C -G -s $(call expand_subsys,$^) -o $@
151-
endif
152148

153149

154150
##########################################################################

0 commit comments

Comments
 (0)