plugins: Don't link with -rdynamic on Windows
authorMartin Willi <martin@revosec.ch>
Fri, 25 Oct 2013 14:03:47 +0000 (16:03 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 4 Jun 2014 13:53:02 +0000 (15:53 +0200)
132 files changed:
configure.ac
src/checksum/Makefile.am
src/conftest/Makefile.am
src/libcharon/plugins/addrblock/Makefile.am
src/libcharon/plugins/android_dns/Makefile.am
src/libcharon/plugins/android_log/Makefile.am
src/libcharon/plugins/certexpire/Makefile.am
src/libcharon/plugins/coupling/Makefile.am
src/libcharon/plugins/dhcp/Makefile.am
src/libcharon/plugins/dnscert/Makefile.am
src/libcharon/plugins/duplicheck/Makefile.am
src/libcharon/plugins/eap_aka/Makefile.am
src/libcharon/plugins/eap_aka_3gpp2/Makefile.am
src/libcharon/plugins/eap_dynamic/Makefile.am
src/libcharon/plugins/eap_gtc/Makefile.am
src/libcharon/plugins/eap_identity/Makefile.am
src/libcharon/plugins/eap_md5/Makefile.am
src/libcharon/plugins/eap_mschapv2/Makefile.am
src/libcharon/plugins/eap_peap/Makefile.am
src/libcharon/plugins/eap_radius/Makefile.am
src/libcharon/plugins/eap_sim/Makefile.am
src/libcharon/plugins/eap_sim_file/Makefile.am
src/libcharon/plugins/eap_sim_pcsc/Makefile.am
src/libcharon/plugins/eap_simaka_pseudonym/Makefile.am
src/libcharon/plugins/eap_simaka_reauth/Makefile.am
src/libcharon/plugins/eap_simaka_sql/Makefile.am
src/libcharon/plugins/eap_tls/Makefile.am
src/libcharon/plugins/eap_tnc/Makefile.am
src/libcharon/plugins/eap_ttls/Makefile.am
src/libcharon/plugins/error_notify/Makefile.am
src/libcharon/plugins/farp/Makefile.am
src/libcharon/plugins/ha/Makefile.am
src/libcharon/plugins/ipseckey/Makefile.am
src/libcharon/plugins/kernel_libipsec/Makefile.am
src/libcharon/plugins/led/Makefile.am
src/libcharon/plugins/load_tester/Makefile.am
src/libcharon/plugins/lookip/Makefile.am
src/libcharon/plugins/maemo/Makefile.am
src/libcharon/plugins/medcli/Makefile.am
src/libcharon/plugins/medsrv/Makefile.am
src/libcharon/plugins/osx_attr/Makefile.am
src/libcharon/plugins/radattr/Makefile.am
src/libcharon/plugins/smp/Makefile.am
src/libcharon/plugins/socket_default/Makefile.am
src/libcharon/plugins/socket_dynamic/Makefile.am
src/libcharon/plugins/sql/Makefile.am
src/libcharon/plugins/stroke/Makefile.am
src/libcharon/plugins/tnc_ifmap/Makefile.am
src/libcharon/plugins/tnc_pdp/Makefile.am
src/libcharon/plugins/uci/Makefile.am
src/libcharon/plugins/unit_tester/Makefile.am
src/libcharon/plugins/unity/Makefile.am
src/libcharon/plugins/updown/Makefile.am
src/libcharon/plugins/vici/Makefile.am
src/libcharon/plugins/whitelist/Makefile.am
src/libcharon/plugins/xauth_eap/Makefile.am
src/libcharon/plugins/xauth_generic/Makefile.am
src/libcharon/plugins/xauth_noauth/Makefile.am
src/libcharon/plugins/xauth_pam/Makefile.am
src/libfast/Makefile.am
src/libhydra/plugins/attr/Makefile.am
src/libhydra/plugins/attr_sql/Makefile.am
src/libhydra/plugins/kernel_klips/Makefile.am
src/libhydra/plugins/kernel_netlink/Makefile.am
src/libhydra/plugins/kernel_pfkey/Makefile.am
src/libhydra/plugins/kernel_pfroute/Makefile.am
src/libhydra/plugins/resolve/Makefile.am
src/libimcv/plugins/imc_os/Makefile.am
src/libimcv/plugins/imc_scanner/Makefile.am
src/libimcv/plugins/imc_test/Makefile.am
src/libimcv/plugins/imv_os/Makefile.am
src/libimcv/plugins/imv_scanner/Makefile.am
src/libimcv/plugins/imv_test/Makefile.am
src/libpts/plugins/imc_attestation/Makefile.am
src/libpts/plugins/imc_swid/Makefile.am
src/libpts/plugins/imv_attestation/Makefile.am
src/libpts/plugins/imv_swid/Makefile.am
src/libstrongswan/plugins/acert/Makefile.am
src/libstrongswan/plugins/aes/Makefile.am
src/libstrongswan/plugins/af_alg/Makefile.am
src/libstrongswan/plugins/agent/Makefile.am
src/libstrongswan/plugins/blowfish/Makefile.am
src/libstrongswan/plugins/ccm/Makefile.am
src/libstrongswan/plugins/cmac/Makefile.am
src/libstrongswan/plugins/constraints/Makefile.am
src/libstrongswan/plugins/ctr/Makefile.am
src/libstrongswan/plugins/curl/Makefile.am
src/libstrongswan/plugins/des/Makefile.am
src/libstrongswan/plugins/dnskey/Makefile.am
src/libstrongswan/plugins/fips_prf/Makefile.am
src/libstrongswan/plugins/gcm/Makefile.am
src/libstrongswan/plugins/gcrypt/Makefile.am
src/libstrongswan/plugins/gmp/Makefile.am
src/libstrongswan/plugins/hmac/Makefile.am
src/libstrongswan/plugins/keychain/Makefile.am
src/libstrongswan/plugins/ldap/Makefile.am
src/libstrongswan/plugins/md4/Makefile.am
src/libstrongswan/plugins/md5/Makefile.am
src/libstrongswan/plugins/mysql/Makefile.am
src/libstrongswan/plugins/nonce/Makefile.am
src/libstrongswan/plugins/ntru/Makefile.am
src/libstrongswan/plugins/openssl/Makefile.am
src/libstrongswan/plugins/padlock/Makefile.am
src/libstrongswan/plugins/pem/Makefile.am
src/libstrongswan/plugins/pgp/Makefile.am
src/libstrongswan/plugins/pkcs1/Makefile.am
src/libstrongswan/plugins/pkcs11/Makefile.am
src/libstrongswan/plugins/pkcs12/Makefile.am
src/libstrongswan/plugins/pkcs7/Makefile.am
src/libstrongswan/plugins/pkcs8/Makefile.am
src/libstrongswan/plugins/pubkey/Makefile.am
src/libstrongswan/plugins/random/Makefile.am
src/libstrongswan/plugins/rc2/Makefile.am
src/libstrongswan/plugins/rdrand/Makefile.am
src/libstrongswan/plugins/revocation/Makefile.am
src/libstrongswan/plugins/sha1/Makefile.am
src/libstrongswan/plugins/sha2/Makefile.am
src/libstrongswan/plugins/soup/Makefile.am
src/libstrongswan/plugins/sqlite/Makefile.am
src/libstrongswan/plugins/sshkey/Makefile.am
src/libstrongswan/plugins/test_vectors/Makefile.am
src/libstrongswan/plugins/unbound/Makefile.am
src/libstrongswan/plugins/x509/Makefile.am
src/libstrongswan/plugins/xcbc/Makefile.am
src/libtnccs/plugins/tnc_imc/Makefile.am
src/libtnccs/plugins/tnc_imv/Makefile.am
src/libtnccs/plugins/tnc_tnccs/Makefile.am
src/libtnccs/plugins/tnccs_11/Makefile.am
src/libtnccs/plugins/tnccs_20/Makefile.am
src/libtnccs/plugins/tnccs_dynamic/Makefile.am
src/manager/Makefile.am
src/medsrv/Makefile.am

index 33aee4c..754b492 100644 (file)
@@ -734,7 +734,7 @@ AC_COMPILE_IFELSE(
                  #endif
                ]])],
        [AC_MSG_RESULT([yes]); windows=true ],
-       [AC_MSG_RESULT([no])]
+       [AC_MSG_RESULT([no]); AC_SUBST(PLUGIN_CFLAGS, [-rdynamic])]
 )
 AM_CONDITIONAL(USE_WINDOWS, [test "x$windows" = xtrue])
 
index 078c597..0bc195b 100644 (file)
@@ -22,7 +22,7 @@ AM_CPPFLAGS = \
        -DPLUGINDIR=\"${DESTDIR}${plugindir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 # we keep track of build dependencies in deps and use libs to store the paths
 # to the installed libraries. for executables we use the built files directly
index 900741d..eeb26f2 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon \
        -DPLUGINS=\""${charon_plugins}\""
 
-AM_CFLAGS = -rdynamic
+AM_CFLAGS = $(PLUGIN_CFLAGS)
 
 conftest_SOURCES = conftest.c conftest.h config.c config.h actions.c actions.h \
        hooks/hook.h hooks/ike_auth_fill.c hooks/unsort_message.c \
index 407f22d..33ee60d 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-addrblock.la
index ebad963..1a0d6e6 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-android-dns.la
index 4d8b485..79c61b5 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-android-log.la
index 2bfad94..b8c241d 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -DIPSEC_PIDDIR=\"${piddir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-certexpire.la
index cbc06a6..badc7b7 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-coupling.la
index e0e857e..3c09db0 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-dhcp.la
index 51d542b..1455625 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-dnscert.la
index 4ea2bec..338a114 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -DIPSEC_PIDDIR=\"${piddir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-duplicheck.la
index ba6e660..75e8eaf 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libsimaka
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-aka.la
index 4e2b207..ec145a3 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libsimaka
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 libstrongswan_eap_aka_3gpp2_la_LDFLAGS = -module -avoid-version
 libstrongswan_eap_aka_3gpp2_la_LIBADD = -lgmp
index 13b4d10..58b827a 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-dynamic.la
index 811366a..c3a12ba 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-gtc.la
index 1c15586..6c5b43f 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS =  \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-identity.la
index 5835983..16aa191 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-md5.la
index 030682d..4276a08 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-mschapv2.la
index 19410a4..8960b84 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libtls
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-peap.la
index 6fdb0d0..bc7a776 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libradius
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-radius.la
index 2e9dad1..f681385 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libsimaka
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-sim.la
index 0d4da07..c38e55e 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
        -DIPSEC_CONFDIR=\"${sysconfdir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-sim-file.la
index e5e9d01..2292204 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
        ${pcsclite_CFLAGS} \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 libstrongswan_eap_sim_pcsc_la_LDFLAGS = -module -avoid-version
 libstrongswan_eap_sim_pcsc_la_LIBADD  = ${pcsclite_LIBS}
index 0f21c68..f40efbd 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libsimaka
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-simaka-pseudonym.la
index be000c6..0fb6222 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libsimaka
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-simaka-reauth.la
index 9a52bd8..b7d6fd4 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
        -DIPSEC_CONFDIR=\"${sysconfdir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-simaka-sql.la
index c4944fc..825beb8 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libtls
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-tls.la
index 9586bef..6fc78bc 100644 (file)
@@ -7,7 +7,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libtnccs
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-tnc.la
index 81776d8..3a7a8cd 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libradius
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-eap-ttls.la
index 980fe1f..1c64bd2 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -DIPSEC_PIDDIR=\"${piddir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-error-notify.la
index 95e57d8..0d862b0 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-farp.la
index c10f7f9..50d3423 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -DIPSEC_PIDDIR=\"${piddir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-ha.la
index 3a69e52..aed63c1 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-ipseckey.la
index a39d067..eca2b23 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libipsec
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-kernel-libipsec.la
index fbe779d..18d6af3 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-led.la
index e7c0878..31e1b5c 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -DIPSEC_PIDDIR=\"${piddir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-load-tester.la
index 6d71c8c..223654e 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -DIPSEC_PIDDIR=\"${piddir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-lookip.la
index c3c55ba..fe5c963 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
        ${maemo_CFLAGS} \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-maemo.la
index f645be2..cfa8259 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-medcli.la
index ec305da..f212202 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-medsrv.la
index f1ff22e..aa1d462 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-osx-attr.la
index a0b0584..15d5a0a 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libradius
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-radattr.la
index 67b4b2a..3aa533e 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
        ${xml_CFLAGS} \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-smp.la
index d734b31..e524ffd 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-socket-default.la
index 04973e5..a1e21b9 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-socket-dynamic.la
index fd56931..c947db8 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-sql.la
index 9509b1b..b906887 100644 (file)
@@ -7,7 +7,7 @@ AM_CPPFLAGS = \
        -DIPSEC_PIDDIR=\"${piddir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-stroke.la
index dfbb1b6..90fbf46 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
        ${xml_CFLAGS} \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-tnc-ifmap.la
index 48de825..3478c5b 100644 (file)
@@ -9,7 +9,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libpttls
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-tnc-pdp.la
index 1fcd9ed..134ced0 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-uci.la
index 21cf08c..b7f8fc3 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-unit-tester.la
index b50dc9a..38923e0 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-unity.la
index a359094..f03f474 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-updown.la
index 162827a..ec9d08e 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -DIPSEC_PIDDIR=\"${piddir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-vici.la
index e02b4a0..1fd01c8 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -DIPSEC_PIDDIR=\"${piddir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-whitelist.la
index 21f8d02..ea75c15 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-xauth-eap.la
index d48e52d..1ecd9fd 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-xauth-generic.la
index f1581ba..3902471 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-xauth-noauth.la
index 1875f81..abf83ca 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libcharon
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-xauth-pam.la
index 41a489b..48079c6 100644 (file)
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
        -I/usr/include/ClearSilver
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 AM_LDFLAGS = \
        -no-undefined
index 5989bea..5b899b8 100644 (file)
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libhydra
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-attr.la
index d126bb0..6e7eae5 100644 (file)
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libhydra
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-attr-sql.la
index 1b98cab..71173f1 100644 (file)
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libhydra
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-kernel-klips.la
index ad57352..c91f9a9 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
        -DROUTING_TABLE_PRIO=${routing_table_prio}
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-kernel-netlink.la
index bb5d0d7..f645528 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libhydra
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-kernel-pfkey.la
index 9d16213..5129c02 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libhydra
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-kernel-pfroute.la
index 4cbf65f..33c3e70 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -DRESOLV_CONF=\"${resolv_conf}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-resolve.la
index fec38cd..e6dd10b 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libimcv
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 imcv_LTLIBRARIES = imc-os.la
 
index 7bf9075..44d3ad7 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libimcv
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 imcv_LTLIBRARIES = imc-scanner.la
 
index 5a04f1f..4bdc234 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libimcv
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 imcv_LTLIBRARIES = imc-test.la
 
index 434e26f..3a9537a 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libimcv
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 imcv_LTLIBRARIES = imv-os.la
 
index 2bb0d67..9881443 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libimcv
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 imcv_LTLIBRARIES = imv-scanner.la
 
index 5ed9161..4fe715f 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libimcv
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 imcv_LTLIBRARIES = imv-test.la
 
index 3f1b52a..88d9ddd 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libpts
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 imcv_LTLIBRARIES = imc-attestation.la
 
index d73c6d1..ddf5964 100644 (file)
@@ -25,7 +25,7 @@ AM_CPPFLAGS = \
        -DSWID_DIRECTORY=\"${prefix}/share\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 imcv_LTLIBRARIES = imc-swid.la
 
index 8d18f14..8dc74fd 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
        -DPLUGINS=\""${attest_plugins}\""
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 imcv_LTLIBRARIES = imv-attestation.la
 
index fc4350f..77f33e6 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libpts
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 imcv_LTLIBRARIES = imv-swid.la
 
index ba16f41..558034e 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-acert.la
index 8c5505b..cfdcf49 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-aes.la
index 58113ca..bd39853 100644 (file)
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-af-alg.la
index e60d193..9846213 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-agent.la
index 3e5cf8f..9c04f56 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-blowfish.la
index d512f5a..f67c7f9 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-ccm.la
index 08e910b..8e0a450 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-cmac.la
index 8afde70..2183582 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-constraints.la
index 52278b6..abee58e 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-ctr.la
index 17bcc8d..a22f9b3 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-curl.la
index 9ca9659..87fbcb1 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-des.la
index 7e74fd8..47f4327 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-dnskey.la
index a7ae612..f7e7e1a 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-fips-prf.la
index 228b470..5cfeaf7 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-gcm.la
index 1a9d225..24a5a9c 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-gcrypt.la
index 57e1fd7..a2cfefd 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-gmp.la
index 5d88d26..65c36b2 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-hmac.la
index bd04db3..07d2bcd 100644 (file)
@@ -1,7 +1,7 @@
 
 AM_CPPFLAGS = -I$(top_srcdir)/src/libstrongswan
 
-AM_CFLAGS = -rdynamic
+AM_CFLAGS = $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-keychain.la
index 3bcef1a..333d974 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-ldap.la
index a2fe8ec..7130574 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-md4.la
index fc6406a..0711160 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-md5.la
index 588b799..11711b3 100644 (file)
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
        $(MYSQLCFLAG) \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-mysql.la
index 7dde99e..49dd3e2 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-nonce.la
index e241554..b959afa 100644 (file)
@@ -2,7 +2,8 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic @COVERAGE_CFLAGS@
+       $(PLUGIN_CFLAGS) \
+       @COVERAGE_CFLAGS@
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-ntru.la
@@ -23,5 +24,3 @@ libstrongswan_ntru_la_SOURCES = \
        ntru_trits.h ntru_trits.c
 
 libstrongswan_ntru_la_LDFLAGS = -module -avoid-version
-
-
index cbfd69b..a7ffefd 100644 (file)
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
        -DFIPS_MODE=${fips_mode}
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-openssl.la
index 0acd838..1110a2e 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-padlock.la
index 9aa853e..55e5251 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-pem.la
index d3eef3c..093e94b 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-pgp.la
index 5dbc4e9..d579531 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-pkcs1.la
index 1d175ec..a2a1bcf 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-pkcs11.la
index af472ba..8078ff3 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-pkcs12.la
index 080947f..f69176a 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-pkcs7.la
index 98e3263..88a205a 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-pkcs8.la
index 4f23544..5a78bf2 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-pubkey.la
index 7c03c66..b87622c 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -DDEV_URANDOM=\"${urandom_device}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-random.la
index 3f89272..edaf90c 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-rc2.la
index d9cb001..674bc48 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-rdrand.la
index 5bb5ac2..9532d5f 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-revocation.la
index f5e7d94..99c9d18 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-sha1.la
index cdd8696..7233b95 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-sha2.la
index 8df666f..a600fc0 100644 (file)
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
         ${soup_CFLAGS} \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-soup.la
index 717d635..0a9b11d 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-sqlite.la
index 22c076f..5b86a7e 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-sshkey.la
index 6dcad40..85f8672 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-test-vectors.la
index 64a5cc7..b8d9ace 100644 (file)
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
        -DIPSEC_CONFDIR=\"${sysconfdir}\"
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-unbound.la
index b464d14..a4160bb 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-x509.la
index 6e22272..43371cd 100644 (file)
@@ -2,7 +2,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libstrongswan
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-xcbc.la
index b2c26cb..5e18104 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libtls
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-tnc-imc.la
index 0541d4c..8e2af63 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libtls
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-tnc-imv.la
index f16bf8e..05a854a 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libtnccs
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-tnc-tnccs.la
index cbe0b8e..fc22c46 100644 (file)
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
        ${xml_CFLAGS} \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 libstrongswan_tnccs_11_la_LIBADD = ${xml_LIBS}
 
index f64526e..2aefecd 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libtnccs
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-tnccs-20.la
index 1a28878..23eb7f1 100644 (file)
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/libtnccs
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 if MONOLITHIC
 noinst_LTLIBRARIES = libstrongswan-tnccs-dynamic.la
index 41001dd..a4f151c 100644 (file)
@@ -22,7 +22,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
        ${xml_CFLAGS} \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 # Don't forget to add templates to EXTRA_DIST !!! How to automate?
 manager_templatesdir = ${managerdir}/templates
index 40bafd8..94ab0cf 100644 (file)
@@ -18,7 +18,7 @@ AM_CPPFLAGS = \
        -DPLUGINS=\""${medsrv_plugins}\""
 
 AM_CFLAGS = \
-       -rdynamic
+       $(PLUGIN_CFLAGS)
 
 # Don't forget to add templates to EXTRA_DIST !!! How to automate?
 medsrv_templatesdir = ${medsrvdir}/templates