From 894ebfb47650f59124be09c4e0beab8ad228472a Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Fri, 1 Aug 2014 09:56:29 +0200 Subject: [PATCH] build: Avoid -shared LDFLAG to allow me to have a working distcheck The -shared option in LDFLAG somehow is poisoning the configure run inside distcheck. This results in the compiler test getting a segfault and failing. I would really like to understand why this is needed to be set here manually anyway. Same for fPIC and dPIC. I would expect that we leave this to the user compiling the code or the packager. Skimming through the log only brought up fixing c++11 globally. Not really a commit message that helps me to understand why this is needed... --- legacy/elementary/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac index 6188c05613..bd4bb25519 100644 --- a/legacy/elementary/configure.ac +++ b/legacy/elementary/configure.ac @@ -246,7 +246,7 @@ if test "x${HAVE_CXX11}" = "x1" -a "x${want_cxx11}" = "xyes"; then evas-cxx >= efl_version \ " have_cxx11="yes" - LDFLAGS="${LDFLAGS} -shared -fPIC -DPIC" + LDFLAGS="${LDFLAGS} -fPIC -DPIC" CXXFLAGS="${CXXFLAGS} -fPIC -DPIC" ], [have_cxx11="no"]