summaryrefslogtreecommitdiff
path: root/net/xymon/patches/patch-build_Makefile.AIX
blob: f524373d5a5098a2e08e44471db63ce9f07f7228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-build_Makefile.AIX,v 1.1 2017/09/28 10:40:35 spz Exp $

make sure hardening flags can be inherited

--- build/Makefile.AIX.orig	2011-03-08 17:20:28.000000000 +0000
+++ build/Makefile.AIX
@@ -12,7 +12,7 @@ NETLIBS =
 
 # Compile flags for normal build with IBM compiler
 CC = cc
-CFLAGS = -g -O3 -qstrict -qcpluscmt -D_REENTRANT $(LFSDEF) $(OSDEF)
+CFLAGS += -g -O3 -qstrict -qcpluscmt -D_REENTRANT $(LFSDEF) $(OSDEF)
 
 # Compile flags for debugging
 # CFLAGS = -g -DDEBUG -D_REENTRANT $(LFSDEF) $(OSDEF)