jpirko / libteam

team netdevice library
GNU Lesser General Public License v2.1
230 stars 57 forks source link

utils: teamdctl needs to be linked with jansson #6

Closed vincentbernat closed 11 years ago

vincentbernat commented 11 years ago

This happens with the following configure line:

./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include \
            --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
            --sysconfdir=/etc --localstatedir=/var \
            --libdir=${prefix}/lib/x86_64-linux-gnu \
            --libexecdir=${prefix}/lib/x86_64-linux-gnu \
            --disable-maintainer-mode --disable-dependency-tracking \
            --disable-silent-rules --enable-static=no

And with the following CFLAGS:

CFLAGS='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security'
CPPFLAGS=-D_FORTIFY_SOURCE=2
LDFLAGS=-Wl,-z,relro

Those are hardening flags used commonly in distros today.

vincentbernat commented 11 years ago

Indeed.