From: Simon Josefsson Date: Mon, 19 May 2008 17:48:21 +0000 (+0200) Subject: Don't pass all C flags when building C++ library. X-Git-Tag: gnutls_2_3_11~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=20ea24104cd4b347fb30e02ced0d2d9dcebb5685;p=thirdparty%2Fgnutls.git Don't pass all C flags when building C++ library. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index 660782c576..d488c11dc1 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -146,13 +146,13 @@ endif # C++ library if ENABLE_CXX -CPP_OBJECTS = gnutlsxx.cpp +libgnutlsxx_la_CPPFLAGS = -I$(top_srcdir)/includes -I../includes AM_CXXFLAGS = -I$(top_srcdir)/includes/ lib_LTLIBRARIES += libgnutlsxx.la -libgnutlsxx_la_SOURCES = $(CPP_OBJECTS) libgnutlsxx.vers +libgnutlsxx_la_SOURCES = gnutlsxx.cpp libgnutlsxx.vers libgnutlsxx_la_LDFLAGS = -no-undefined \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)