pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ocaml Add support for CFLAGS
details: https://anonhg.NetBSD.org/pkgsrc/rev/8a0f82a0cefe
branches: trunk
changeset: 347654:8a0f82a0cefe
user: khorben <khorben%pkgsrc.org@localhost>
date: Thu May 26 14:31:12 2016 +0000
description:
Add support for CFLAGS
This fixes the build with PKGSRC_MKPIE.
diffstat:
lang/ocaml/Makefile.common | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 07c583fec7ba -r 8a0f82a0cefe lang/ocaml/Makefile.common
--- a/lang/ocaml/Makefile.common Thu May 26 14:27:07 2016 +0000
+++ b/lang/ocaml/Makefile.common Thu May 26 14:31:12 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.46 2016/05/05 08:12:01 jaapb Exp $
+# $NetBSD: Makefile.common,v 1.47 2016/05/26 14:31:12 khorben Exp $
# used by x11/labltk/Makefile
# used by x11/ocaml-graphics/Makefile
@@ -33,11 +33,11 @@
.endif
.if ${OPSYS} == "Darwin"
-CONFIGURE_ARGS+= -cc "${CC} -arch ${MACHINE_ARCH}"
+CONFIGURE_ARGS+= -cc "${CC} -arch ${MACHINE_ARCH} ${CFLAGS}"
CONFIGURE_ARGS+= -aspp "${CC} -arch ${MACHINE_ARCH} -c"
CONFIGURE_ARGS+= -as "as -arch ${MACHINE_ARCH}"
.else
-CONFIGURE_ARGS+= -cc ${CC}
+CONFIGURE_ARGS+= -cc "${CC} ${CFLAGS}"
.endif
.include "../../mk/bdb.buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index