[111493] trunk/base/src/darwintracelib1.0/Makefile

cal at macports.org cal at macports.org
Mon Sep 23 15:50:08 PDT 2013


Revision: 111493
          https://trac.macports.org/changeset/111493
Author:   cal at macports.org
Date:     2013-09-23 15:50:08 -0700 (Mon, 23 Sep 2013)
Log Message:
-----------
darwintrace: build for multiple architectures to support tracing non-standard architecture build tools, explain why the Makefile contains some of the stuff it does

Modified Paths:
--------------
    trunk/base/src/darwintracelib1.0/Makefile

Modified: trunk/base/src/darwintracelib1.0/Makefile
===================================================================
--- trunk/base/src/darwintracelib1.0/Makefile	2013-09-23 22:49:03 UTC (rev 111492)
+++ trunk/base/src/darwintracelib1.0/Makefile	2013-09-23 22:50:08 UTC (rev 111493)
@@ -1,3 +1,5 @@
+# This Makefile will only be run on Darwin systems; we can safely use
+# Apple-specifics here
 OBJS=		darwintrace.o
 SHLIB_NAME=	darwintrace${SHLIB_SUFFIX}
 INSTALLDIR=	${DESTDIR}${datadir}/macports/Tcl/darwintrace1.0
@@ -4,8 +6,15 @@
 
 include ../../Mk/macports.autoconf.mk
 
-CFLAGS+= -fPIC -Wno-deprecated-declarations
+# Yes, we know having $ signs in identifiers is not a very good idea; in the
+# case of darwintrace we still need them, though.
 CFLAGS_PEDANTIC=
+# The /l?stat64/ functions are deprecated sind 10.6. We know that, but still
+# want to use them anyway.
+# Build darwintrace for universal archs so support all binaries this system can
+# run.
+CFLAGS+= -fPIC -Wno-deprecated-declarations ${UNIVERSAL_ARCHFLAGS}
+SHLIB_LDFLAGS+=${UNIVERSAL_ARCHFLAGS}
 
 all:: ${SHLIB_NAME}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130923/cb4c02d6/attachment-0001.html>


More information about the macports-changes mailing list