forked from enlightenment/efl
Revert "build: enable -Wfloat-equal for compiling"
This reverts commit 25792d6416
.
100 patches later the build output is still noisy with all these warnings.
I'm happy to see this warnings added to the default CFLAGS once the current
warnings have been dealt with.
Enable this warning in the local CFLAGS, get the current warnings fixed,
add it to the efl default flags to make the warning prominent for newly added
code.
This commit is contained in:
parent
92b2c86ed8
commit
877f55e13b
|
@ -504,7 +504,7 @@ AC_CHECK_TYPES([siginfo_t], [], [],
|
||||||
|
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
EFL_CHECK_COMPILER_FLAGS([EFLALL], [-Wall -Wextra -Wpointer-arith -Wfloat-equal -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections])
|
EFL_CHECK_COMPILER_FLAGS([EFLALL], [-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections])
|
||||||
EFL_CHECK_LINKER_FLAGS([EFLALL], [-fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries])
|
EFL_CHECK_LINKER_FLAGS([EFLALL], [-fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries])
|
||||||
case "${build_profile}" in
|
case "${build_profile}" in
|
||||||
dev)
|
dev)
|
||||||
|
|
Loading…
Reference in New Issue