544cf480ee
notable changes: OpenSSL 1.1.0 is now supported, and c-ares has been updated While touching the package anyhow, it has been taught to pass down hardening flags, so that the various PKGSRC_USE_ flags now have effect.
15 lines
546 B
Text
15 lines
546 B
Text
$NetBSD: patch-build_Makefile.OSX,v 1.1 2017/09/28 10:40:35 spz Exp $
|
|
|
|
make sure hardening flags can be inherited
|
|
|
|
--- build/Makefile.OSX.orig 2011-03-08 17:20:28.000000000 +0000
|
|
+++ build/Makefile.OSX
|
|
@@ -6,7 +6,7 @@ NETLIBS =
|
|
|
|
# Compile flags for normal build
|
|
CC = cc
|
|
-CFLAGS = -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int $(LFSDEF) $(OSDEF)
|
|
+CFLAGS += -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int $(LFSDEF) $(OSDEF)
|
|
|
|
# Compile flags for debugging
|
|
# CFLAGS = -g -DDEBUG -Wall -D_REENTRANT $(LFSDEF) $(OSDEF)
|