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