mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Revert ill-considered restriction of dtrace support to Solaris only.
This commit is contained in:
parent
47ef623c0b
commit
db13a81ab4
@ -5,7 +5,7 @@
|
|||||||
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
|
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
|
||||||
# Portions Copyright (c) 1994, Regents of the University of California
|
# Portions Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.134 2009/08/28 20:26:18 petere Exp $
|
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.135 2009/09/04 23:11:05 tgl Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -20,11 +20,9 @@ SUBDIRS = access bootstrap catalog parser commands executor foreign lib libpq \
|
|||||||
|
|
||||||
include $(srcdir)/common.mk
|
include $(srcdir)/common.mk
|
||||||
|
|
||||||
ifeq ($(PORTNAME), solaris)
|
|
||||||
ifeq ($(enable_dtrace), yes)
|
ifeq ($(enable_dtrace), yes)
|
||||||
LOCALOBJS += utils/probes.o
|
LOCALOBJS += utils/probes.o
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
OBJS = $(SUBDIROBJS) $(LOCALOBJS) $(top_builddir)/src/port/libpgport_srv.a
|
OBJS = $(SUBDIROBJS) $(LOCALOBJS) $(top_builddir)/src/port/libpgport_srv.a
|
||||||
|
|
||||||
@ -145,10 +143,8 @@ $(top_builddir)/src/include/utils/probes.h: utils/probes.h
|
|||||||
$(LN_S) ../../../$(subdir)/utils/probes.h .
|
$(LN_S) ../../../$(subdir)/utils/probes.h .
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(PORTNAME), solaris)
|
|
||||||
utils/probes.o: utils/probes.d $(SUBDIROBJS)
|
utils/probes.o: utils/probes.d $(SUBDIROBJS)
|
||||||
$(DTRACE) $(DTRACEFLAGS) -C -G -s $(call expand_subsys,$^) -o $@
|
$(DTRACE) $(DTRACEFLAGS) -C -G -s $(call expand_subsys,$^) -o $@
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user