build: move -rdynamic from CPPFLAGS to LDFLAGS

The -rdynamic flag is a linker flag, not a compiler/preprocessor flag,
so move it to LDFLAGS.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>

http://lists.infradead.org/pipermail/libnl/2016-March/002100.html
This commit is contained in:
Tobias Klauser 2016-03-31 14:42:31 +02:00 committed by Thomas Haller
parent cdf2d4baf3
commit 4dd3ca4840

View File

@ -6,11 +6,11 @@ AM_CPPFLAGS = \
-I${top_builddir}/include \
-D_GNU_SOURCE \
-DPKGLIBDIR=\"$(pkglibdir)\" \
-DSYSCONFDIR=\"$(sysconfdir)\" \
-rdynamic
-DSYSCONFDIR=\"$(sysconfdir)\"
AM_CFLAGS = -Wall
AM_LDFLAGS = \
-rdynamic \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
NL_LIBADD = \
-L${top_builddir}/lib \