From 5a8eee163bf4d505934959a73b94c4dfd8c66e95 Mon Sep 17 00:00:00 2001 From: Michael Holzheu Date: Mon, 27 Nov 2017 18:00:39 +0100 Subject: [PATCH] osasnmpd: Use ALL_CFLAGS instead of directly CFLAGS Signed-off-by: Michael Holzheu --- osasnmpd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osasnmpd/Makefile b/osasnmpd/Makefile index 79036bb4..15496b2b 100644 --- a/osasnmpd/Makefile +++ b/osasnmpd/Makefile @@ -2,8 +2,8 @@ include ../common.mak LDLIBS = `net-snmp-config --agent-libs` # On some Linux systems `net-snmp-config --agent-libs` introduces -pie, # therefore add -fPIC to prevent link failures. -CFLAGS += -fPIC -CFLAGS += `net-snmp-config --cflags` +ALL_CFLAGS += -fPIC +ALL_CFLAGS += `net-snmp-config --cflags` OBJS = ibmOSAMib.o ibmOSAMibUtil.o osasnmpd.o