Khem Raj d751b85efe net-snmp: Fix compiler options with paths in net-snmp-config
options which involve paths into workspace are usually filtered out
with the sed command, however currently it does half the job and the
resulting config file gets partial replacements leaving the compiler
options with bad syntax e.g.

-fdebug-prefix-map option is left with -fdebug-prefix-map=
which is not correct syntax, the effect of this is seen in other
recipes which then invoke net-snmp-config script and add the
flags obtained from this script into its own configure scripts
and then tries to execute tests, these tests fail because of
bad compiler options e.g. keepalived where configure tests fails like

| configure: error: *** incorrect CFLAGS from net-snmp-config

this is because of wrong compiler options that it got from
recipe-sysroot/usr/bin/crossscripts/net-snmp-config

This patch tries to be specific about which options should
be skimmed and removes the options completely

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-03-05 11:45:40 -05:00
2016-10-21 18:20:43 +02:00
2018-02-23 20:19:17 -08:00
2018-02-23 20:26:00 -08:00

Collection of layers for the OE-core universe

Please see the respective READMEs in the layer subdirectories

S
Description
No description provided
Readme 110 MiB
Languages
BitBake 85%
Shell 6.2%
C 3%
Roff 2.1%
NASL 1.9%
Other 1.6%