summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-12-14 16:20:48 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-12-14 16:20:48 +0000
commite6b5488d1d4acc63e6c61d58ab32897a427338c3 (patch)
treef7d5e7905fa2a20284873fc8e6c88a6982b39008 /legacy
parent77cb7b50d6c3424e74aba2deb4104c3181357284 (diff)
* eina: also update ldflags instead of cflags.
SVN revision: 55555
Diffstat (limited to 'legacy')
-rw-r--r--legacy/eina/m4/efl_compiler_flag.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/eina/m4/efl_compiler_flag.m4 b/legacy/eina/m4/efl_compiler_flag.m4
index 618c6a6847..25c285dbf5 100644
--- a/legacy/eina/m4/efl_compiler_flag.m4
+++ b/legacy/eina/m4/efl_compiler_flag.m4
@@ -32,13 +32,13 @@ AC_LANG_POP([C])
32dnl Macro that checks if a linker flag is supported by the compiler. 32dnl Macro that checks if a linker flag is supported by the compiler.
33 33
34dnl Usage: EFL_LINKER_FLAG(flag) 34dnl Usage: EFL_LINKER_FLAG(flag)
35dnl flag is added to CFLAGS if supported (will be passed to ld anyway). 35dnl flag is added to LDFLAGS if supported (will be passed to ld anyway).
36 36
37AC_DEFUN([EFL_LINKER_FLAG], 37AC_DEFUN([EFL_LINKER_FLAG],
38[ 38[
39 39
40CFLAGS_save="${CFLAGS}" 40LDFLAGS_save="${LDFLAGS}"
41CFLAGS="${CFLAGS} $1" 41LDFLAGS="${LDFLAGS} $1"
42 42
43AC_LANG_PUSH([C]) 43AC_LANG_PUSH([C])
44AC_MSG_CHECKING([whether the compiler supports $1]) 44AC_MSG_CHECKING([whether the compiler supports $1])
@@ -50,7 +50,7 @@ AC_LINK_IFELSE(
50AC_MSG_RESULT([${have_flag}]) 50AC_MSG_RESULT([${have_flag}])
51 51
52if test "x${have_flag}" = "xno" ; then 52if test "x${have_flag}" = "xno" ; then
53 CFLAGS="${CFLAGS_save}" 53 LDFLAGS="${LDFLAGS_save}"
54fi 54fi
55AC_LANG_POP([C]) 55AC_LANG_POP([C])
56 56