forked from enlightenment/efl
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.
This commit is contained in:
parent
5b0522c8af
commit
232ca7b67b
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue