]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Avoid polluting CFLAGS for mod_snmp
authorTravis Cross <tc@traviscross.com>
Tue, 13 May 2014 17:36:15 +0000 (17:36 +0000)
committerTravis Cross <tc@traviscross.com>
Tue, 13 May 2014 17:40:43 +0000 (17:40 +0000)
commitb263201a2eb5020119f03527ef9e6fd7a14717ad
tree6d70485688a9fb769af2b5aa2201589b7f7c1359
parent94ec447e0dc8fe87b88b4e27c96679a863441712
Avoid polluting CFLAGS for mod_snmp

Putting `net-snmp-config --cflags` into CFLAGS causes major pollution;
it overrides optimization and debugging levels, warnings, and more.
While normally we do want to automatically locate library headers,
there has to be a better way to do this.  libsnmp is normally in the
usual place and doesn't need special handling.  Perhaps people with
libsnmp in a weird place should just need to add the -I flag to their
CFLAGS before build.
src/mod/event_handlers/mod_snmp/Makefile.am