summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-08-01 09:56:29 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2014-08-01 09:56:29 +0200
commitf6c39d782cbf63541659bbb4f178fb1d6943e86e (patch)
treea9bc14183ed132c4f3981ec2bcc7b994bcb23911
parent384849feca5d43343ce86608ad498d1906725e70 (diff)
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...
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6188c0561..bd4bb2551 100644
--- a/configure.ac
+++ b/configure.ac
@@ -246,7 +246,7 @@ if test "x${HAVE_CXX11}" = "x1" -a "x${want_cxx11}" = "xyes"; then
246 evas-cxx >= efl_version \ 246 evas-cxx >= efl_version \
247 " 247 "
248 have_cxx11="yes" 248 have_cxx11="yes"
249 LDFLAGS="${LDFLAGS} -shared -fPIC -DPIC" 249 LDFLAGS="${LDFLAGS} -fPIC -DPIC"
250 CXXFLAGS="${CXXFLAGS} -fPIC -DPIC" 250 CXXFLAGS="${CXXFLAGS} -fPIC -DPIC"
251 ], 251 ],
252 [have_cxx11="no"] 252 [have_cxx11="no"]