stefan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=0fd59a8aec3ba48b1ef964c69ca6700c9305c218

commit 0fd59a8aec3ba48b1ef964c69ca6700c9305c218
Author: Stefan Schmidt <[email protected]>
Date:   Fri Aug 8 16:01:45 2014 +0200

    configure: Use the same default CFLAGS/LDFLAGS as we do for EFL
    
    Especially the -fvisibility=hidden would be needed here for our EAPI 
handling.
    I never realised we miss this here but Lukasz Stanislawski pointed me to it
    when we wondered why it linked ofr him with missing EAPI but not for me.
    
    I'v compiling and releasing elm like this for a long time now so I don't
    expect any trouble but if something strange comes up we can still revert it
    before 1.11 final.
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 21b7e2c..5d32247 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,10 @@ AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = 
"xyes"])
 AC_SUBST([default_engine])
 AC_DEFINE_UNQUOTED([DEFAULT_ENGINE], ["$default_engine"], ["Default engine 
according to host"])
 
+
+EFL_COMPILER_FLAG([-Wall -Wextra -Wpointer-arith 
-Wno-missing-field-initializers -fvisibility=hidden -fdata-sections 
-ffunction-sections])
+EFL_LINKER_FLAG([-fvisibility=hidden -fdata-sections -ffunction-sections 
-Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed 
-Wl,--no-copy-dt-needed-entries])
+
 m4_ifdef([v_mic],
    [
     EFL_COMPILER_FLAG([-Wshadow])

-- 


Reply via email to