Emil Velikov
29283921b7
m4: add Werror when checking for compiler flags
...
Seemingly that at some point clang started accepting _any_ flags,
whereas previously it would error out.
These days, you can give it -Whamsandwich and it will succeed, while
at the same time throwing an annoying warning.
Add -Werror so that everything gets flagged and set accordingly.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108082
Cc: Vinson Lee <vlee@freedesktop.org >
Repored-by: Vinson Lee <vlee@freedesktop.org >
Signed-off-by: Emil Velikov <emil.velikov@collabora.com >
Reviewed-by: Dylan Baker <dylan@pnwbakers.com >
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com >
2018-10-30 16:41:05 +00:00
Vinson Lee
39a69f0692
m4: Use older autoconf 2.63 compatible ax_check_compile_flag.
...
CentOS 6 and RHEL 6 have autoconf 2.63.
Fixes: e4b2b69e82 ("configure: Add and use AX_CHECK_COMPILE_FLAG")
Signed-off-by: Vinson Lee <vlee@freedesktop.org >
Reviewed-by: Matt Turner <mattst88@gmail.com >
2017-09-01 16:30:40 -07:00
Matt Turner
e4b2b69e82
configure: Add and use AX_CHECK_COMPILE_FLAG
...
This makes it a lot clearer what's happening (at least I think so), and
will make future additions much simpler.
Reviewed-by: Emil Velikov <emil.velikov@collabora.com >
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com >
2017-08-29 15:20:57 -07:00
Andreas Boll
0420666ac0
build: Remove unused AX_CHECK_COMPILE_FLAG macro
...
Unused since 1a6ae84041
Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com >
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com >
Reviewed-by: Emil Velikov <emil.velikov@collabora.com >
2016-07-25 15:14:12 +02:00
Lauri Kasanen
fcefdc9a59
mesa: Fix build to properly check for supported compiler flags
...
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72708
Reviewed-by: Matt Turner <mattst88@gmail.com >
Signed-off-by: Lauri Kasanen <cand@gmx.com >
2013-12-20 17:00:57 -08:00